gsync

Crates.iogsync
lib.rsgsync
version0.1.2
sourcesrc
created_at2021-06-28 21:11:58.251998
updated_at2021-06-28 21:45:08.660066
descriptionGSync is a command line utility to sync your files to Google Drive, while respecting .gitignore files
homepagehttps://github.com/TheDutchMC/GSync
repositoryhttps://github.com/TheDutchMC/GSync
max_upload_size
id415923
size141,563
Tobias de Bruijn (TobiasDeBruijn)

documentation

README

GSync

GSync is a tool to help you stay backed up. It does this by synchronizing the folders you want to Google Drive, while respecting .gitignore files

Installation

You've got two options to install GSync

  1. Preferred method: Via crates.io: cargo install gsync
  2. Via GitHub: Releases

Usage

  1. Create a project on Google Deveopers
  2. Configure the OAuth2 consent screen and create OAuth2 credentials
  3. Enable the Google Drive API
  4. If you are planning to use a Team Drive/Shared Drive, run gsync drives to get the ID of the drive you want to sync to
  5. Configure GSync: gsync config -i <GOOGLE APP ID> -s <GOOGLE APP SECRET> -f <INPUT FILES> -d <ID OF SHARED DRIVE>. The -d parameter is optional
  6. Login: gsync login
  7. Sync away! gsync sync

To update your configuration later, run gsync config again, you don't have to re-provide all options if you don't want to change them

Licence

GSync is dual licenced under the MIT and Apache-2.0 licence, at your discretion

Commit count: 19

cargo fmt