Skip to content

ilyalavrinov/yadisk-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Tool for explicit synching files with Yandex.Disk

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages