Allen Brown wrote: > On Tue, 2 Nov 2004, Bob Miller wrote: > > > horst wrote: > > > > > Let's say I want to make my digital images all lowercase: > > > mv *.JPJ *.jpg > > > > /usr/bin/rename .JPG .jpg *.JPG > > I didn't know of rename. That's really nice. But according to the > man page your example isn't right. That should be > rename 's/\.JPG$/.jpg/' *.JPG > > And similarly for the other examples you provided.
There are two different programs called rename. I was talking about the GNU rename utility. You're talking about the Perl rename command (written by Tom Christiansen when his office was just down the hall from mine, FWIW). I tested the BARFOO -> bare_foot example before I posted it, using GNU rename. -- Bob Miller K<bob> kbobsoft software consulting http://kbobsoft.com [EMAIL PROTECTED] _______________________________________________ EUGLUG mailing list [EMAIL PROTECTED] http://www.euglug.org/mailman/listinfo/euglug
