Skip to content

Instantly share code, notes, and snippets.

@5SMNOONMS5
Last active August 31, 2020 05:28
Show Gist options
  • Save 5SMNOONMS5/35e1612554f1903edfc64a3ffd550a40 to your computer and use it in GitHub Desktop.
Save 5SMNOONMS5/35e1612554f1903edfc64a3ffd550a40 to your computer and use it in GitHub Desktop.
Change file name to lower case
# Ref: https://stackoverflow.com/questions/7787029/how-do-i-rename-all-files-to-lowercase
for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment