Skip to content

Instantly share code, notes, and snippets.

@kimpham54
Created March 21, 2017 12:39
Show Gist options
  • Save kimpham54/012ef7fe1a278d013b5ac85f61c20dbb to your computer and use it in GitHub Desktop.
Save kimpham54/012ef7fe1a278d013b5ac85f61c20dbb to your computer and use it in GitHub Desktop.
clone all repos in a github organization using clone_url. can use ssh_url
curl -s https://api.github.com/users/Islandora-CLAW/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