Last active
August 12, 2016 10:45
-
-
Save asleepwalker/dcca1c468788e2f932c5 to your computer and use it in GitHub Desktop.
Rename files to lowercase
This file contains hidden or 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
# Replace '*.JPG' with your name pattern | |
find . -name '*.JPG' | while read upName; do loName=`echo "${upName}" | tr '[:upper:]' '[:lower:]'`; mv "$upName" "$loName"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment