Created
March 21, 2017 12:39
-
-
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
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/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