Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghaiklor/backup-my-github
Clones all your repositories to local machine
https://github.com/ghaiklor/backup-my-github
backup bash github repository
Last synced: about 2 months ago
JSON representation
Clones all your repositories to local machine
- Host: GitHub
- URL: https://github.com/ghaiklor/backup-my-github
- Owner: ghaiklor
- License: wtfpl
- Created: 2018-06-04T09:31:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-08T19:24:00.000Z (over 6 years ago)
- Last Synced: 2024-10-25T04:00:23.912Z (about 2 months ago)
- Topics: backup, bash, github, repository
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 107
- Watchers: 5
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Backup My GitHub Profile
_Clones all your GitHub public repositories to your machine_
## Prerequisites
- curl
- jq## Using
Before starting the script, you need to generate personal access token on GitHub (**with full repo access**).
Follow this guide - [link](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)Afterwards, navigate to the folder, where you want to store repos:
```bash
mkdir -p /some/path/to/folder/with/backups
cd /some/path/to/folder/with/backups
```Run the script:
```bash
bash <(curl -s https://raw.githubusercontent.com/ghaiklor/backup-my-github/master/backup.sh)
```## License
[DWTFYWT](./LICENSE)