Last active
July 18, 2021 07:15
-
-
Save garraflavatra/f8c665d2774ce8d9349d81040c9a407f to your computer and use it in GitHub Desktop.
Rename all *.jpg to *.jpeg or vice-versa. Thanks to https://superuser.com/a/1023909
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
find . -type f -name '*.jpeg' -print0 | xargs -0 rename 's/\.jpeg/\.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
find . -type f -name '*.jpg' -print0 | xargs -0 rename 's/\.jpg/\.jpeg/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment