Created
March 18, 2019 20:38
-
-
Save tylerlittlefield/f959a23f35eb4f4ce6ae3435d40496d0 to your computer and use it in GitHub Desktop.
Recursively convert images
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
# src: https://superuser.com/questions/71028/batch-converting-png-to-jpg-in-linux | |
find . -iname '*.png' | while read i; do mogrify -format jpg "$i" && rm "$i"; echo "Converted $i to ${i%.*}.jpg"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment