Skip to content

Instantly share code, notes, and snippets.

@jjmartres
Created July 13, 2021 12:54
Show Gist options
  • Save jjmartres/7239bd5bac4b2c4cb0dc528f97b9888b to your computer and use it in GitHub Desktop.
Save jjmartres/7239bd5bac4b2c4cb0dc528f97b9888b to your computer and use it in GitHub Desktop.
GitHub bulk clone

GitHub bulk clone

# download a maximum of 1000 @group's repos and organize them under `./group/`:
gh repo list group --limit 1000 | while read -r repo _; do
  gh repo clone "$repo" "$repo"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment