替换字符串

for file in `ls *fin*.jpg`;do
    mv $file ${file/_finished/}
done

 

posted @ 2017-03-14 13:12  Vincen_shen  阅读(146)  评论(0编辑  收藏  举报