Skip to content

Instantly share code, notes, and snippets.

@rawaludin
Created July 11, 2013 05:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rawaludin/5972869 to your computer and use it in GitHub Desktop.
Save rawaludin/5972869 to your computer and use it in GitHub Desktop.
Batch Convert PSD to PNG in Mac OS X
#!/bin/bash
for i in *psd
do
name=${i%.psd}
convert "$name.psd[0]" -resize 100% "$name.png"
done
@rawaludin
Copy link
Author

usage:
psd2png.sh *.psd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment