7/24/2005
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
As pointed out by Jud, here’s another tool, which offers some additional features:
https://moin.conectiva.com.br/ReMv
Del.icio.us
Digg
Reddit
Technorati
Possibly related posts
Comments
Leave a reply



The python version “remv’ is my personal favorite. It has a few more features (like recursive renaming) that I find to be very helpful. https://moin.conectiva.com.br/ReMv