rename:ls *old|sed 's/\(.*\)\.old/mv \1.old \1.new/'|sh
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