Skip to content

Instantly share code, notes, and snippets.

@payliu
Last active August 29, 2015 14:02
Show Gist options
  • Save payliu/43da531dbcfe31d48598 to your computer and use it in GitHub Desktop.
Save payliu/43da531dbcfe31d48598 to your computer and use it in GitHub Desktop.
Mac: 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