Skip to the content.

git-clone

mass github repo scraper/cloner

git-clone is simple but powerful shell script to mass download all repositories of a user or organization on Github.

Requires

Terminal with git installed. Simply copy gitclone.sh, and make sure you set it to be executable:

$ chmod +x gitclone.sh

To run:

$ ./gitclone.sh

You will be prompted to enter a user or org name. Type a valid username of a github user and press ‘enter. It will take a moment to poll the github servers, then respond with a list of repositories found for a given user.

[](/git-clone/scrnshot.png)

Your choices are to download all of them or cancel out. Pretty simple. If you are downloading from a large list such as from Google or Twitter, make sure you have a fast internet connection, ample storage space on your drive, and plenty of coffee while you wait.

That’s pretty much all there is to it. Very simple, but quite useful.

by Ray Kooyenga

blog and more projects at by rkooyenga.github.io