Created
May 24, 2017 10:44
-
-
Save StevenPuttemans/450f22453f834937c60c4e8fc2407b5b to your computer and use it in GitHub Desktop.
Batch convert png files to jpg files
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
ls -1 *.png | xargs -n 1 bash -c 'convert "$0" "${0%.png}.jpg"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment