Created
November 1, 2019 17:23
-
-
Save appleguru/db524692f25ad77d9d6976f68af0d84c to your computer and use it in GitHub Desktop.
Clone all GitHub repos in an organization
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 -u [username] -s https://api.github.com/orgs/[organization]/repos\?per_page=200 | grep -e 'clone_url*' | cut -d \" -f 4 | xargs -L1 git clone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment