Last active
January 2, 2016 16:39
-
-
Save cdparra/8331398 to your computer and use it in GitHub Desktop.
Simple shell command to rename a batch of files (i.e., *.JPG to *.jpg)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in *.JPG; do mv "$i" `basename "$i" .JPG`.jpg; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment