【Linux】Linux下文件名批量编号

参考:https://blog.csdn.net/zhangjunhit/article/details/80569097

例如给所有png文件编号:

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

猜你喜欢

转载自blog.csdn.net/weixin_38705903/article/details/88624297
今日推荐