Wednesday, October 21, 2009

Renaming huge amount of files

There are a lot of scripts to renames files, but these are two choices:

for & sedfor F in * ; do mv “$F” `echo “$F” | sed ’s/{search_string}/{replace_string}/’ ` ; done


The other choice is to use the command 'mmv'. I never used it, but seems that it works.

No comments: