User Tools

Site Tools


linux:files:rename_files_in_a_directory_to_lower-case

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki