Skip to content

Instantly share code, notes, and snippets.

@bikalbasnet
Created September 27, 2018 08:34
Show Gist options
  • Save bikalbasnet/1e427adc6e9934cb285a2b22faa260f3 to your computer and use it in GitHub Desktop.
Save bikalbasnet/1e427adc6e9934cb285a2b22faa260f3 to your computer and use it in GitHub Desktop.
#!/bin/bash
for i in $(curl "https://api.github.com/orgs/[ORGANIZATION]/repos?access_token=[TOKEN]&per_page=200" | sed '/[ ]*"ssh_url":/!d;s/[^:]*: "//;s/",$//'); do
git clone $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment