rename multi files with sed
It is a very useful pipe command that can rename multi files with the same pattern
rename:ls *old|sed 's/\(.*\)\.old/mv \1.old \1.new/'|sh
posted on 2011-03-05 00:07 xueliangliu 阅读(171) 评论(0) 收藏 举报
浙公网安备 33010602011771号