Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
generating a single file of ofl fonts and their font categories
cd /Users/davelester/Code/googlefontdirectory/ofl/
for i in $( ls ); do
cd $i
echo 'Font:' $i
cat "METADATA.json" | python -c 'import json,sys;obj=json.loads(;print "Category: " + ob$
cd ../
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment