Last active
November 10, 2016 23:44
-
-
Save joellobo/79aa8d78f48239d5d689b81ef57b793d to your computer and use it in GitHub Desktop.
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
rename 'y/A-Z/a-z/' * | |
for file in *; do mv "$file" `echo $file | tr ' ' '-'` ; done | |
ls | 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