Last active
April 9, 2017 22:58
-
-
Save gsanders5/da14bd074971233a9a265a643fa25b1e 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 | |
# To run without saving this script... | |
# bash <(curl -s https://gist.githubusercontent.com/Raveanox/da14bd074971233a9a265a643fa25b1e/raw) | |
dir=$(mktemp --directory) | |
cd $dir | |
wget -qO- https://github.com/google/fonts/archive/master.tar.gz | tar -xvzf- | |
mkdir google-fonts | |
cd fonts-master | |
find . -name \*.ttf -exec cp {} ../google-fonts \; | |
cd $dir | |
rm -r $dir/fonts-master | |
tar -czvf google-fonts.tar.gz google-fonts | |
curl --upload-file ./google-fonts.tar.gz https://transfer.sh/google-fonts-$(date +%F).tgz | |
cd /tmp/ | |
rm -r $dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment