Last active
March 31, 2020 06:49
-
-
Save samuraitruong/7aac9bac56a8d67976dfbe62b1524145 to your computer and use it in GitHub Desktop.
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
TOKEN=[you git hub token] | |
ORG=[you ORG name] | |
curl -s https://$TOKEN:@api.github.com/orgs/$ORG/repos?per_page=200 | \ | |
grep -ioE "\"ssh_url\": \"(.*)\"" | cut -d '"' -f4 |\ | |
xargs -n 1 git clone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment