Skip to content

Instantly share code, notes, and snippets.

@eliocapelati
Created July 8, 2013 21:46
Show Gist options
  • Save eliocapelati/5952772 to your computer and use it in GitHub Desktop.
Save eliocapelati/5952772 to your computer and use it in GitHub Desktop.
Rename files with any CaPiTaL word to lower case
#!/bin/bash
for foo in *; do mv $foo `echo $foo | tr /[A-Z]/ /[a-z]/` ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment