Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 924 Bytes

README.md

File metadata and controls

54 lines (45 loc) · 924 Bytes

Filesync

Filesync is an utility written in Golang which helps you to keep the files on the client up to date with the files on the server. Only the changed parts of files on the server are downloaded. Therefore it's great to synchronize your huge, and frequently changing files.

Server

Installation

go get -u github.com/elgs/filesync/gsyncd

Run

gsyncd gsyncd.json

Configuration

gsyncd.json

{
    "ip": "0.0.0.0",
    "port": 6776,
    "monitors": {
        "home_elgs_desktop_a": "/home/elgs/Desktop/a",
        "home_elgs_desktop_b": "/home/elgs/Desktop/b"
    }
}

Client

Installtion

go get github.com/elgs/filesync/gsync

Run

gsync gsync.json

Configuration

gsync.json

{
    "ip": "127.0.0.1",
    "port": 6776,
    "monitors": {
        "home_elgs_desktop_a": "/home/elgs/Desktop/c",
        "home_elgs_desktop_b": "/home/elgs/Desktop/d"
    }
}