Bulk renaming of files using regular expressions

This nice little Perl script is the most logical way that I’ve seen to rename a bunch of files. Well for UNIX/Perl geeks at least. You use nice little Perlish regular expression replacements to do the renaming. E.g.:

ren-regexp 's/JPG/jpg/' *

http://www.michael-forman.com/perl/ren-regexp.html (broken)

As pointed out by Jud, here’s another tool, which offers some additional features:


One thought on “Bulk renaming of files using regular expressions

Leave a Reply

Your email address will not be published.