Last active
August 31, 2020 05:28
-
-
Save 5SMNOONMS5/35e1612554f1903edfc64a3ffd550a40 to your computer and use it in GitHub Desktop.
Change file name to lower case
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
# Ref: https://stackoverflow.com/questions/7787029/how-do-i-rename-all-files-to-lowercase | |
for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment