Last active
May 13, 2020 18:16
-
-
Save alvincrespo/343f33b611f1f6e4bfe770bf1274c74b 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
#!/bin/bash | |
# Thanks to Josh Highland! | |
# http://joshhighland.com/2011/07/14/rename-all-files-names-in-a-directory-to-lower-case/ | |
for i in *; do mv "$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