Created
July 13, 2017 16:41
-
-
Save kmurugulla/fc7b5f45eddcab29ae97af6ae0b987b6 to your computer and use it in GitHub Desktop.
clone multiple git repositories
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/orgs/Adobe-Marketing-Cloud/repos\?per_page\=200 | perl -ne 'print "$1\n" if (/"ssh_url": "([^"]+)/)' | xargs -n 1 git clone | |
curl -s https://api.github.com/orgs/Adobe-Consulting-Services/repos\?per_page\=200 | 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
To clone all repositories under "Adobe-Marketing-Cloud" and "Adobe-Consulting-Services"