[PLUG] Converting Uppercase File Names to Lowercase

Rich Shepard rshepard at appl-ecosys.com
Sat Jun 22 16:54:16 UTC 2013


On Sat, 22 Jun 2013, Paul Mullen wrote:

> Does your system have a command called "rename" available?  It's a very
> handy Perl script that's been around for years, and does exactly what its
> name implies.  It applies a Perl regex to the name of each file passed to
> it.  E.g., to convert all upper case characters in a file name to lower
> case:
>
>  rename 'y/A-Z/a-z/' DSC*

Paul,

   That did not work. But after reading the man page I found that

 	rename .JPG .jpg *.JPG

works just fine.

   Thanks again for reminding me of rename's existence.

Rich




More information about the PLUG mailing list