Created
June 20, 2016 08:09
-
-
Save waltspence/3b278d213a4c940238b080404fb8e96e to your computer and use it in GitHub Desktop.
Download all repos from a user using bash. (Change the username value)
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
curl -s https://api.github.com/users/{username}/repos?per_page=200 | python -c $'import json, sys, os\nfor repo in json.load(sys.stdin): os.system("git clone " + repo["clone_url"])' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment