Created
April 22, 2016 21:12
-
-
Save icaromh/b1a05f199aa0811cd94a97b05a64b9b4 to your computer and use it in GitHub Desktop.
Rename all files in a folder setting 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
for FILENAME in *; do NEWFILENAME=$(echo "$FILENAME" | tr '[:upper:]' '[:lower:]' | tr ' ' '_'); mv "$FILENAME" "$NEWFILENAME"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment