RE: [Perl-unix-users] File Renaming

2002-11-14 Thread Matt Schneider
I would run this from the command line in that directory: perl -e 'foreach $oldfile (<*>) { $newfile = "\L$oldfile"; rename $oldfile, $newfile; }' the \L in the quotes forces everything after it in the quotes to be lowercase. Matt Schneider Programmer/System Administrator SKLD Information Serv

[Perl-unix-users] File Renaming

2002-11-14 Thread Pablo Morales
Hi there, I've got a list of file in a directory which are UPERCASE and I want to convert hem to lowercase, Is there a perl funtion to do that ?, I'd like to take all the UPERCASE files and convert them to lowercase. The concept-> take all the file in DIERCTORY which are UPERCASE and rename thm to