Saturday, July 9, 2011

Mass renaming Directories from the command shell

I needed to rename a lot of directories from 'S0?' to 'Season ?' found an easy way of doing this from the command line:

find /media/ -type d -iname 'S0?' -exec renamexm -s/S0/Season\ /g {} \;

0 comments:

Post a Comment