Created
March 11, 2014 12:19
-
-
Save commuterjoy/9484497 to your computer and use it in GitHub Desktop.
Clone all an organisation's GitHub repositories
This file contains hidden or 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
# usage ./get__repos.sh | /bin/sh | |
org=https://api.github.com/orgs/Financial-Times/repos?per_page=100 | |
[email protected]:Financial-Times/%.git | |
curl -s $org | ruby -e "require 'json';JSON.parse(STDIN.read).each{|r|puts r['name']}" | xargs -I % echo "git clone --progress $clone_url" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment