Created
January 18, 2016 11:06
-
-
Save lucien144/933dab5d59baca9f9de7 to your computer and use it in GitHub Desktop.
Mac OS bulk convert from PNG to JPG (inline)
This file contains hidden or 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
| #!/bin/bash | |
| mkdir converted;for i in *.png; do sips -s format jpeg $i --out converted/`echo "$i" | sed -e "s/\.png//g"`.jpg;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment