Created
November 26, 2012 17:47
-
-
Save gillesdemey/4149603 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
#!/usr/bin/bash | |
# start x, end y, collection z | |
# ie. get_nouns 2917 2951 "gestures" | |
function get_nouns { | |
working_dir = ~/Desktop/nouns/$3 | |
for i in {$1..$2} | |
do | |
curl -L http://thenounproject.com/download/zipped/svg_$i.zip > $working_dir/svg_$i.zip | |
done | |
cd $working_dir | |
unzip -o "svg_*" | |
rm svg_* | |
fontcustom compile $working_dir $working_dir/font | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment