Skip to content

Instantly share code, notes, and snippets.

@gillesdemey
Created November 26, 2012 17:47
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 gillesdemey/4149603 to your computer and use it in GitHub Desktop.
Save gillesdemey/4149603 to your computer and use it in GitHub Desktop.
#!/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