On Tue, Mar 07, 2000 at 08:51:49AM -0330, Pittman, Merle wrote:
> write a little shell script
> 
> > -----Original Message-----
> > From:       Foung Vang [SMTP:[EMAIL PROTECTED]]
> > Sent:       Monday, March 06, 2000 3:04 PM
> > To: [EMAIL PROTECTED]
> > Subject:    [newbie] Renaming from upper case to lower case?
> > 
> > Is there a way to rename files under linux from upper case to lower case
> > all at once?  I need to rename about 300+ files from upper to lower and
> > don't want to do it manually everytime.
> > Thanks!

  Try this:
for i in [A-Z]* ; do j=`echo $i | tr [A-Z] [a-z]` ; mv $i $j ; done


         DindinX
-- 
  [EMAIL PROTECTED]

Reply via email to