Wed, 07 Feb 2024 17:11:55 +0100
add support for progress callbacks in dav_store()
702
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
1 | --- |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
2 | title: 'dav-sync restore' |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
3 | --- |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
4 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
5 | **`dav-sync restore [-ldRM] [-V <version>] [-s <directory>] [file...]`** |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
6 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
7 | Restores local files by downloading them from the server. The *file* argument can be a local absolute or relative file path. |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
8 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
9 | If no files are specified, a sync directory must be specified with the *-s* option. |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
10 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
11 | **`-l`** Lock the repository before accessing it. After `restore` completed, the repository is unlocked |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
12 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
13 | **`-d`** Don't lock the repository (default) |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
14 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
15 | **`-R`** Restore only files, that were locally removed |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
16 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
17 | **`-M`** Restore only files, that were locally modified |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
18 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
19 | **`-V <version>`** Restore a specific file version. *version* must be the version name listed by [dav-sync list-versions][1] |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
20 | |
703
2e3a24b9896a
update man pages
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
702
diff
changeset
|
21 | [1]: ./sync-list-versions.html |
702
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
22 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
23 |