yadisk-sync

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2018 License: MIT Imports: 18 Imported by: 0

README

Build Status

yadisk-sync

Tool for explicit synching files with Yandex.Disk

This tool works via WebDAV protocol, thus you could try it with any other WebDAV-compatible file server.

How to use

Simply run it like this: ./yadisk-sync --upload --from [from] --to [to] --user admirallarimda

If [from] is a directory, all subsequent directories will be synched as well, preserving directory structure starting from that directory.

File masking is not yet supported (i.e. you can't write something like --from *.jpg)

[to] points to the folder where all data should be stored ([to] directory might be missing, the tool will create it automatically)

The tool is capable uploading as well as downloading files from WebDAV server. Just use either --upload or --download flag with correct [from] directory.

Though by default the tool looks at the Yandex.Disk server, you can specify any WebDAV server using --host argument.

Where to get

All binaries are automatically created for each release. Latest release could be found here

Building

go 1.11 is preferable (due to modules support). Though you should be able to compile with lower versions of go toolset.

Due to gowebdav memleak not the latest version of the library is used. Once the bug is fixed, I'll update the module.

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