用shell批量修改类似的文件名
for i in `ls *.html`;do #rename "linux" "test" $file mv $i `echo $i | sed 's#test#linux#g'` done
分享题目:用shell批量修改类似的文件名
文章源于:http://jxruijie.cn/article/pgdhjh.html
for i in `ls *.html`;do #rename "linux" "test" $file mv $i `echo $i | sed 's#test#linux#g'` done