linux下如何批量复制文件并重命名

for i in file-*; do newFile=`echo $i | sed 's/oldword/newword/'`; cp $i $newFile; done
相关文章
相关标签/搜索