Edit
例如把后缀名由bkscr改成txt。 注意这里如果文件名中有空格的话就一定要加双引号。
for i in *.bkscr ; do mv -v "$i" "${i%.bkscr}.txt" done
- on Mac: ~/.profile