📜  bash 编号偶数文件名 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:17.797000             🧑  作者: Mango

代码示例1
i=0; for f in [folder]/*; do echo mv "$f" "${f%/*}/$((i+=2)).[ext_file]"; done