Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save watershed/53da922f2ca8a8b604381ff862526025 to your computer and use it in GitHub Desktop.
Save watershed/53da922f2ca8a8b604381ff862526025 to your computer and use it in GitHub Desktop.
Rename files in folder to all lowercase
for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done
@watershed
Copy link
Author

watershed commented Jun 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment