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 Services, LLC -----Original Message----- From: Pablo Morales [mailto:pablo.morales@;abitab.com.uy] Sent: Thursday, November 14, 2002 9:31 AM To: [EMAIL PROTECTED] Subject: [Perl-unix-users] File Renaming 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 lowercase Thankx _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs