[Novalug] how to change file names for CAPITALS to lower case

Russell Evans russell-evans at qwest.net
Thu Feb 15 02:04:48 EST 2007


On Wed, 14 Feb 2007 21:35:17 -0500
"donjr" <djr1952 at hotpop.com> wrote:

> On Wed, 2007-02-14 at 20:49 -0500, Michael Stone wrote:
> > On Wed, Feb 14, 2007 at 05:37:18PM -0500, Nino Pereira wrote:
> > >I have a directory with lots of files, with file names
> > >in capitals. I want to change all the file names
> > >to lower case.
> > 
> > If you have a nifty program called "rename" on your system you can
> > do this:
> > rename 'y/A-Z/a-z/' *
> > 
> > Mike stone
> 
> And the above is even one of the example of usage in the man page for
> the program.


my man page for rename is the following: 
http://www.die.net/doc/linux/man/man1/rename.1.html

The only one I can find that mentions rename 'y/A-Z/a-z/' * is the
following:
http://unixhelp.ed.ac.uk/CGI/man-cgi?rename

So I believe there are two programs named rename and, judging by this
thread, the adoption of either one does not seem to be universal.

Thank you
Russell 



More information about the Novalug mailing list