Skip to content

btfidelis/gync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gync

Tool for syncing files to dropbox your folder.

Build

This project is under development and at the moment is just a working prototype

Download the source

$ go get -d github.com/btfidelis/gync

Install the dependencies

$ go get github.com/codegangsta/cli
$ go get github.com/crackcomm/go-clitable

Now you should be able to build with

go install github.com/btfidelis/gync

Usage

First, you'll need to configure the dropbox folder you wish to store your savegames do that by copying the config.json.dist file and renaming to config.json

$ cp config.json.dist config.json

Change the values of the config.json keys as needed (at the moment check interval does not work)

{
	"BackupPath": "C:\\Users\\Bruno\\Dropbox\\.gync",
	"CheckInterval": 2
}

Now you can add the save game directory

$ gync add GameName "C:\Path\To\Save"

And start the daemon, witch will listen for changes in the save dir and replicate to your dropbox

$ gync start

Third-Party Dependencies

  • CLI : A small package for building command line apps in Go
  • CLI-TABLE : Command line (ASCII) and Markdown table for Golang

Todo

  • Unit Tests
  • Refactoring
  • Add the functionality to restore saves
  • Add the functionality to create profiles ("git like branches")
  • Implementation with dropbox api

Contribuiting

I am quite new to golang, so if you have any suggestions or you can help with some of the todo itens, feel free to open a feature issue. Please describe the new feature as well as implementation ideas.

Pull requests for bugs may be sent without creating any Feature issue. If you believe that you know of a solution for a bug that has been filed on Github, please leave a comment detailing your proposed fix

License

See the file called LICENSE

About

Cli for syncing game saves to dropbox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages