Created
December 28, 2018 09:57
-
-
Save Marchuck/cc00f0be33daf01afc2a0a5a08fff030 to your computer and use it in GitHub Desktop.
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 "${@:3}" | |
do | |
echo "generating $i x $i icon..." | |
sips -z $i $i $1 --out $2_$i.png | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment