Re: find and replace

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ben Browning
Date:  
To: Main PLUG discussion list
Subject: Re: find and replace
On Mon, Feb 20, 2012 at 6:05 PM, Ariel Gold <> wrote:
> Here's one way to do it:
>
> for f in *JPG ; do mv $f `basename $f JPG`jpg; done


On machines with perls rename installed(usually Debian and Ubuntu), "
rename 's/\.JPG$/.jpg/' *.JPG " will do it too.

~Ben
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss