linux:files:rename_files_in_a_directory_to_lower-case
Table of Contents
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' {} \;
linux/files/rename_files_in_a_directory_to_lower-case.txt · Last modified: 2023/07/17 17:55 by peter