diff -r 0a48f17c729d -r 444aa8fe133f docs/src/restore.md --- a/docs/src/restore.md Sun Dec 15 13:48:31 2019 +0100 +++ b/docs/src/restore.md Sun Dec 15 16:22:08 2019 +0100 @@ -0,0 +1,23 @@ +--- +title: 'dav-sync restore' +--- + +**`dav-sync restore [-ldRM] [-V ] [-s ] [file...]`** + +Restores local files by downloading them from the server. The *file* argument can be a local absolute or relative file path. + +If no files are specified, a sync directory must be specified with the *-s* option. + +**`-l`** Lock the repository before accessing it. After `restore` completed, the repository is unlocked + +**`-d`** Don't lock the repository (default) + +**`-R`** Restore only files, that were locally removed + +**`-M`** Restore only files, that were locally modified + +**`-V `** Restore a specific file version. *version* must be the version name listed by [dav-sync list-versions][1] + +[1]: ./list-versions.html + +