Last active
December 22, 2015 17:59
-
-
Save wyanez/6509582 to your computer and use it in GitHub Desktop.
Multiple Rename Files (*.JPG to *.jpg)
This file contains hidden or 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 f in `ls *.JPG`; do mv $f ${f%JPG}jpg; done; | |
#Using Parameter Expansion ${f%...} see http://mywiki.wooledge.org/BashFAQ/073 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment