Created
December 25, 2017 04:49
-
-
Save kylieCat/5b1f6c6cd297ac6928fd9b53471db32f 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
org_name=$1 | |
curl -s https://api.github.com/orgs/$org_name/repos\?per_page\=100 | perl -ne 'print "$1\n" if (/"ssh_url": "([^"]+)/)' | xargs -n 1 git clone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment