On Tue, 2 Nov 2004, Bob Miller wrote: > 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).
In that case I think it best to blacklist them both. Two programs that have the same name but which are incompatible. Muy mal. > I tested the BARFOO -> bare_foot example before I posted it, using > GNU rename. > -- > Bob Miller K<bob> -- Allen Brown work: Agilent Technologies non-work: http://www.peak.org/~abrown/ [EMAIL PROTECTED] [EMAIL PROTECTED] Success is not final, failure is not fatal: it is the courage to continue that counts. --- Sir Winston Churchill _______________________________________________ EUGLUG mailing list [EMAIL PROTECTED] http://www.euglug.org/mailman/listinfo/euglug
