https://github.com/rkooyenga/git-clone
Mass clone all Github repositories of a user or organization with a single command in your terminal
https://github.com/rkooyenga/git-clone
bash console git kooyenga linux ray shell-script
Last synced: 8 months ago
JSON representation
Mass clone all Github repositories of a user or organization with a single command in your terminal
- Host: GitHub
- URL: https://github.com/rkooyenga/git-clone
- Owner: rkooyenga
- License: cc0-1.0
- Created: 2022-01-01T00:06:17.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-02T03:24:07.000Z (over 4 years ago)
- Last Synced: 2023-02-26T23:16:00.208Z (over 3 years ago)
- Topics: bash, console, git, kooyenga, linux, ray, shell-script
- Language: Shell
- Homepage: https://rkooyenga.github.io/git-clone/
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
- launch the git-clone script
- enter the userid of an individual or org on github you want to scrape
- ✨Magic ✨
### Requires
Terminal with ``git`` installed. Simply copy [**gitclone.sh**](https://github.com/rkooyenga/git-clone/blob/main/gitclone.sh), and make sure you set it to be executable:
```sh
$ chmod +x gitclone.sh
```
### To run:
```sh
$ ./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.
](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**](https://github.com/rkooyenga)
blog and more projects at by [**rkooyenga.github.io**](https://rkooyenga.github.io/)