Created
March 26, 2025 01:38
-
-
Save ganobrega/5b7b97b14cca508c150b3aa76706f0f5 to your computer and use it in GitHub Desktop.
Download all repositories from a organization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
eval "$(ssh-agent -s)" | |
ORG_NAME="username-of-organization" | |
gh repo list $ORG_NAME --limit 4000 | 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