webdav-sync

command module
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

README

Webdav sync

Auto upload or delete file from webdav server as what changed in the local disk.

Install

> go install github.com/caitunai/webdav-sync@v1.3.0

Configuration

You should have a configuration file webdav.json in the directory where you run webdav-sync.

webdav.json

> cd /Users/user/Documents/path/to/upload
> vim webdav.json
{
  "local_path": "/Users/user/Documents/path/to/upload",
  "server": "http://webdav.example.com:8099",
  "server_path": "path/of/the/webdav/server",
  "username": "webdavuser",
  "password": "webdavpassword",
  "ignores": [
    ".git",
    ".idea"
  ]
}

Run

Run webdav-sync command in the terminal at the path of webdav.json

> cd /Users/user/Documents/path/to/upload
> webdav-sync

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL