[geeks] Re: [SunRescue] filenames..

Ed Pate geeks at sunhelp.org
Thu May 24 11:13:11 CDT 2001


This is a multi-part message in MIME format.
--------------5AEEC1E33598EE7A380FAF5A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Nope, that will try to change anything find finds to lowercase.  Well, it
will if you insert a ']' character after the "[a-z".  :-)

Ed

Wolfgang Engelien wrote:

> At 11:19 AM 5/24/01 -0400, you wrote:
> >[ On Thursday, May 24, 2001 at 09:56:49 (-0500), Bill Bradford wrote: ]
> >> Subject: [SunRescue] filenames..
> >>
> >> Anybody got a script/program that will traverse a directory tree and
> >> change all filenames to lowercase?
> >
> >You mean like this simple command-line?  :-)
> >
> >  find . -print | while read name ; do mv $name `echo $name | tr '[A-Z]'
> '[a-z'`; done
> >
> >(use "mv -i" if you think there may be any name clashing)
> Again, I think this works also only if the directory names are already
> all lowercase !??
> Wolfgang
> _______________________________________________
> GEEKS:  http://www.sunhelp.org/mailman/listinfo/geeks

--------------5AEEC1E33598EE7A380FAF5A
Content-Type: text/x-vcard; charset=us-ascii;
 name="Ed_Pate.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Ed Pate
Content-Disposition: attachment;
 filename="Ed_Pate.vcf"

begin:vcard 
n:Pate;Ed
tel;fax:904-359-3904
tel;work:904-359-2401
x-mozilla-html:TRUE
org:CSX Technology;MidTier Strategic
adr:;;550 Water St, J962;Jacksonville;FL;32202;USA
version:2.1
email;internet:Ed_Pate at CSX.com
title:Engineer - Technical Architecture
fn:Ed Pate
end:vcard

--------------5AEEC1E33598EE7A380FAF5A--




More information about the geeks mailing list