Created
November 8, 2018 07:26
-
-
Save craigvantonder/10233a933da0eb30193dfe3bb878c663 to your computer and use it in GitHub Desktop.
Change the extension of files recursively
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 /path/to -depth -name "*.jpeg" -exec sh -c 'mv "$1" "${1%.jpeg}.jpg"' _ {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment