📜  批量重命名文件 fish - Shell-Bash 代码示例

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

代码示例1
#fish
for f in *.pdf
    mv $f (echo $f | sed 's/\( \)\([0-9]\)/-\2/')
end