Last active
December 9, 2017 21:50
-
-
Save jason-neal/bebea4b50bee2bb2bbaef68be3805b92 to your computer and use it in GitHub Desktop.
Clone all my git repos. Coped from https://stackoverflow.com/questions/19576742/how-to-clone-all-repos-at-once-from-github)
This file contains 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
#https://stackoverflow.com/questions/19576742/how-to-clone-all-repos-at-once-from-github | |
USER=jason-neal; PAGE=1 | |
curl "https://api.github.com/users/$USER/repos?page=$PAGE&per_page=100" | | |
grep -e 'git_url*' | | |
cut -d \" -f 4 | | |
xargs -L1 git clone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need to generate and add ssh key to github first.