Convert all file extensions to lower-case - From http://stackoverflow.com/questions/11818408/convert-all-file-extensions-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
find . -name '*.*' -exec sh -c ' | |
a=$(echo "$0" | sed -r "s/([^.]*)\$/\L\1/"); | |
[ "$a" != "$0" ] && mv "$0" "$a" ' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment