Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```