Created
July 15, 2016 23:10
-
-
Save JosiasSena/4d60dabeee0318a8b4768ed816745870 to your computer and use it in GitHub Desktop.
Set all file names in current directory to lowercase
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
#!/usr/bin/env bash | |
for file in *; do mv "$file” "`echo $file | tr "[:upper:]" "[:lower:]"`"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment