Skip to content

Instantly share code, notes, and snippets.

@bspguy
Forked from milanboers/clone.bash
Last active August 23, 2023 12:45
Show Gist options
  • Save bspguy/ad26a3dda6673222362929d37137489e to your computer and use it in GitHub Desktop.
Save bspguy/ad26a3dda6673222362929d37137489e to your computer and use it in GitHub Desktop.
Clone all repositories of a Github user
sudo apt install curl
curl -s https://api.github.com/users/bspguy/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment