Skip to content

Instantly share code, notes, and snippets.

@vinzv
vinzv / cloneall.sh
Created June 14, 2021 19:05 — forked from potter0815/cloneall.sh
clone all private repos of an organization
#!/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"