Ubuntu下通过命令行批量更改文件名

版权声明: https://blog.csdn.net/Dorothy_Xue/article/details/84894389

将不规则或者冗长的文件名进行批量更改,按顺序命名:

 i=1; for x in *; do mv $x $i.jpg; let i=i+1; done

效果:

猜你喜欢

转载自blog.csdn.net/Dorothy_Xue/article/details/84894389
今日推荐