User Tools

Site Tools


linux_tools

**This is an old revision of the document!**

文件批量重命名

例如把后缀名由bkscr改成txt。 注意这里如果文件名中有空格的话就一定要加双引号。

for i in *.bkscr ; do
mv -v "$i" "${i%.bkscr}.txt"
done

The auto-run script in bash shell:

- on Mac: ~/.profile

linux_tools.1548511152.txt.gz · Last modified: 2019/01/26 21:59 by admin