Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zelr0x/gitbak
Toy project to backup github repositories
https://github.com/zelr0x/gitbak
Last synced: 13 days ago
JSON representation
Toy project to backup github repositories
- Host: GitHub
- URL: https://github.com/zelr0x/gitbak
- Owner: zelr0x
- Created: 2022-05-15T00:06:53.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-15T14:03:21.000Z (over 2 years ago)
- Last Synced: 2024-11-05T19:57:02.797Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gitbak - backup git repositories
**Warning: it's a toy project!**
Backs up git repositories from GitHub. Support for other providers may or may not be added in the future.
Implemented using API calls to get repository listing and plain `clone` for download.
## Run with `cargo`
```shell
cargo run --bin ghbak -- [-x exclude1,exclude2] [-i only-this,and-this]
```
For example, the following run will clone `github.com/zelr0x/ghbak` repository and store it in `./dest/ghbak`
```shell
cargo run --bin ghbak zelr0x ./dest -- -i ghbak
```