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