Projects / Mass Rename / Comments

Comments for Mass Rename

13 Aug 2004 22:31 mackstann

Difference between this and rename(1)?
Perl (sometimes) comes with a utility called rename (if not I'm sure you can get it from the dist. tarball). This takes a regexp and applies it to all of the filenames you specify. I.e.:

rename 's/^/blah_/' *

This would add "blah_" to the beginning of all files that "*" grabs. So doesn't rename(1) do everything that mass rename does, plus more (since it's full regular expressions)?

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.