Skip to content

Instantly share code, notes, and snippets.

@l4u
Created October 9, 2011 10:22
Show Gist options
  • Save l4u/1273530 to your computer and use it in GitHub Desktop.
Save l4u/1273530 to your computer and use it in GitHub Desktop.
rename .JPG to .jpg
find . -name '*.JPG' -exec bash -c 'mv "$1" "${1/%.JPG/.jpg}"' -- {} \;
@mfrank37
Copy link

mfrank37 commented Feb 2, 2025

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment