RENAME is a PERL script that can rename files in the current directory. A PERL code is used to describe the renaming operation, and the list of files to be renamed is given by a standard UNIX mask, such as "*.f" or "*" or "test?.dat".
rename.pl 'tr/A-Z/a-z/' *will rename every file so that its name is lowercase.
rename.pl 's/\.orig$//' *.origwill, for every file that ends in ".orig", rename the file by removing the trailing ".orig".
rename.pl '$_ .= ".old"' *.ccwill append ".old" to the name of every file that ends in ".cc".
For "security" reasons, we seem to be unable to supply a file whose extension is "pl", so the Perl script has an extension of "perl". Source code files you may copy include:
You can go up one level to the PERL source codes.