批量重命名文件–添加前缀 for f in *.log; do mv {,Prefix_}"$f"; done 批量拷贝文件–添加前缀 for f in *.log; do cp {,Prefix_}"$f"; done