Skip to content

Instantly share code, notes, and snippets.

@wjlafrance
Created October 16, 2011 20:38
Show Gist options
  • Save wjlafrance/1291394 to your computer and use it in GitHub Desktop.
Save wjlafrance/1291394 to your computer and use it in GitHub Desktop.
Downcase all files in current directory
for f in *; do mv $f `echo $f | ruby -e 'puts gets.downcase'`; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment