Skip to content

Instantly share code, notes, and snippets.

@waltspence
Created June 20, 2016 08:09
Show Gist options
  • Save waltspence/3b278d213a4c940238b080404fb8e96e to your computer and use it in GitHub Desktop.
Save waltspence/3b278d213a4c940238b080404fb8e96e to your computer and use it in GitHub Desktop.
Download all repos from a user using bash. (Change the username value)
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