====== Linux - Files - Rename files in a directory to lower-case ====== ===== Using perl ===== perl -e 'rename($_, lc) || warn "$_: $!\n" for @ARGV' * ---- ==== Do this recursively ==== find . -type f -exec perl -e 'rename($_, lc) || warn "$_: $!\n" for @ARGV' {} \;
perl -e 'rename($_, lc) || warn "$_: $!\n" for @ARGV' *
find . -type f -exec perl -e 'rename($_, lc) || warn "$_: $!\n" for @ARGV' {} \;