Skip to content

Instantly share code, notes, and snippets.

@otwm
Created January 17, 2017 10:21
Show Gist options
  • Save otwm/8528c205c247cf245d451d3eee130796 to your computer and use it in GitHub Desktop.
Save otwm/8528c205c247cf245d451d3eee130796 to your computer and use it in GitHub Desktop.
for file in *.JPG
do
mv -v "$file" "${file%.JPG}.jpg"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment