Created
April 1, 2019 03:53
-
-
Save jayers99/82fcd4b6e1ee15caf5c98586e352ed81 to your computer and use it in GitHub Desktop.
download all the github gists from a user
This file contains hidden or 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
curl https://api.github.com/users/jayers99/gists?page=1 | jq -r '.[].files[].raw_url' > mygisturls.txt | |
curl https://api.github.com/users/jayers99/gists?page=2 | jq -r '.[].files[].raw_url' >> mygisturls.txt | |
while read i; do curl -O $i; done < mygisturls.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment