Skip to content

Instantly share code, notes, and snippets.

@shiv19
Created November 30, 2017 08:14
Show Gist options
  • Save shiv19/47b9145aa9e44ab21a944a25f6dff0af to your computer and use it in GitHub Desktop.
Save shiv19/47b9145aa9e44ab21a944a25f6dff0af to your computer and use it in GitHub Desktop.
Rename all files in a directory to lowercase
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