Skip to content

Instantly share code, notes, and snippets.

@kylieCat
Created December 25, 2017 04:49
Show Gist options
  • Save kylieCat/5b1f6c6cd297ac6928fd9b53471db32f to your computer and use it in GitHub Desktop.
Save kylieCat/5b1f6c6cd297ac6928fd9b53471db32f to your computer and use it in GitHub Desktop.
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