A bash script for cloning all the Github public repositories of a given user
- Install the dependencies
sudo apt-get install curl git zip
- Clone this repository (if you haven't done yet).
git clone https://github.com/moisesjbc/github-backup.git
- Run the install script
cd github-backup
./install.sh
Simply run:
github-backup.sh <username>
where <username> is your Github username. For example, if you want to backup all of my repositories, simply run
github-backup.sh moisesjbc