Bulk renaming in Debian Linux

The simplest way to this is using a perl script called rename (debian linux only)

I used only substitute strings, but it fully supports filenames which is really cool :)

rename -v 's/oldString/newString/' *.htm

Two sources for this:
http://tips.webdesign10.com/how-to-bulk-rename-files-in-linux-in-the-terminal
http://www.troubleshooters.com/codecorn/littperl/perlreg.htm

Comments

Popular posts from this blog

Timeline on Latex

Exporting Skype Chat/Skype Contacts to csv file using the shell script and sqlite3 (usually already installed on mac)

trim() not supported by IE7 and IE8