Thanks, and yes - perhaps I should come along & get bashed..

> -----Original Message-----
> From: Christopher Sawtell [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 13 August 2003 12:33 p.m.
> To: [EMAIL PROTECTED]
> Subject: Re: Script help - upper to lower case filenames
> 
> 
> On Wed, 13 Aug 2003 12:26, you wrote:
> > Hi all, I need to recursively rename a bunch of uppercase files to 
> > lowercase files. This sounds like something that a tool may 
> exist for, 
> > or a simple script would do. Any ideas on the easiest way 
> to to this?
> 
> for f in `ls`
> do
> LC_FILENAME=`echo filename | tr 'A-Z' 'a-z'`
> mv $f  $LC_FILENAME
> done
> 
> You need to come on the Linux course being organised by the OSTC.
> 
> -- 
> Sincerely etc.,
> Christopher Sawtell
> 
> 

Reply via email to