Created
January 10, 2020 08:08
-
-
Save emmanuelnk/84cb39b838aeb2ff8e810d6f51efba10 to your computer and use it in GitHub Desktop.
Convert all filenames in current directory to lowercase (Bash)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in $( ls | grep [A-Z] ); do mv -i $i `echo $i | tr 'A-Z' 'a-z'`; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment