Skip to content

Instantly share code, notes, and snippets.

View nir0s's full-sized avatar
💭
Multiplying forces

nir0s nir0s

💭
Multiplying forces
View GitHub Profile
@nir0s
nir0s / github-clone-org.sh
Created June 5, 2014 06:15
one liner to clone an entire github organization in bash
# run ./github-clone-org.sh #ORG_NAME#
ORG_NAME=$1
curl -s https://api.github.com/orgs/${ORG_NAME}/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}'