Created
February 4, 2013 18:16
-
-
Save Y4suyuki/4708471 to your computer and use it in GitHub Desktop.
convert all pngs to pdfs on Mac OS X
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
#!/bin/sh | |
for png in *.png; do | |
sips -s format pdf "$png" --out "${png%%.*}.pdf" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment