Skip to content

Instantly share code, notes, and snippets.

@mathewbyrne
Created January 10, 2013 03:44
Show Gist options
  • Save mathewbyrne/4499247 to your computer and use it in GitHub Desktop.
Save mathewbyrne/4499247 to your computer and use it in GitHub Desktop.
A quick way to rename all files in the current folder to lowercase.
#!/bin/zsh
# Requires zsh with zmv loaded
# autoload -U zmv
zmv '(*)' '${(L)1}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment