[SunRescue] filenames..

Greg A. Woods rescue at sunhelp.org
Thu May 24 10:19:22 CDT 2001


[ 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)

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods at acm.org>     <woods at robohack.ca>
Planix, Inc. <woods at planix.com>;   Secrets of the Weird <woods at weird.com>



More information about the rescue mailing list