Created
July 11, 2013 05:56
-
-
Save rawaludin/5972869 to your computer and use it in GitHub Desktop.
Batch Convert PSD to PNG in 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/bash | |
for i in *psd | |
do | |
name=${i%.psd} | |
convert "$name.psd[0]" -resize 100% "$name.png" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
usage:
psd2png.sh *.psd