Skip to content

Instantly share code, notes, and snippets.

Avatar

Leo Gaggl leogaggl

View GitHub Profile
@leogaggl
leogaggl / cloneall.sh
Created Apr 10, 2019 — forked from potter0815/cloneall.sh
clone all private repos of an organization
View cloneall.sh
#!/bin/bash
#requires jq -> http://stedolan.github.io/jq/
#optional change working_dir
working_dir=${1-$(pwd)}
cd $working_dir
user="github_username"
token="application token"
organization="Organization_Name"