Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvdschee/github-backup
Create a backup of all your GitHub repositories, just in case Microsoft does a Gitlab rm -rf
https://github.com/mvdschee/github-backup
Last synced: 22 days ago
JSON representation
Create a backup of all your GitHub repositories, just in case Microsoft does a Gitlab rm -rf
- Host: GitHub
- URL: https://github.com/mvdschee/github-backup
- Owner: mvdschee
- License: mit
- Created: 2023-09-19T11:13:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-03T03:59:25.000Z (7 months ago)
- Last Synced: 2024-12-09T12:44:33.310Z (22 days ago)
- Language: Rust
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-backup
Create a backup of all your GitHub repositories, just in case Microsoft does a Gitlab rm -rf```bash
Program to back up all repositories from GitHub.Usage: github-backup [OPTIONS] --token
Options:
-t, --token Your personal token from GitHub
-o, --output Where to save the repositories [default: ./backup]
-h, --help Print help
-V, --version Print version
```Optional you can copy over the `.env-example` to `.env` and fill in your personal token.
## Installation
1. Get a personal token from GitHub: [Settings > Developer Settings > Personal access tokens](https://github.com/settings/tokens?type=beta)