docs/src/dav-sync.1.md

changeset 703
2e3a24b9896a
parent 563
3dffe58a573f
equal deleted inserted replaced
702:444aa8fe133f 703:2e3a24b9896a
1 % DAV-SYNC(1) Version 1.2 | DavUtils User Manuals 1 % DAV-SYNC(1) Version 1.3 | DavUtils User Manuals
2 % Olaf Wintermann 2 % Olaf Wintermann
3 % July 1, 2018 3 % December 15, 2019
4 4
5 # NAME 5 # NAME
6 6
7 **dav-sync** - synchronize a local directory with a WebDAV collection. 7 **dav-sync** - synchronize a local directory with a WebDAV collection.
8 8
20 : Pulls all changes from the server. All new or modified files are downloaded 20 : Pulls all changes from the server. All new or modified files are downloaded
21 and all files deleted on the server are deleted locally. If a file is also 21 and all files deleted on the server are deleted locally. If a file is also
22 locally modified and conflict detection is not disabled, the local file is 22 locally modified and conflict detection is not disabled, the local file is
23 renamed and an entry in the conflict database is added. 23 renamed and an entry in the conflict database is added.
24 24
25 push [**-cldr**] [**-t** *tags*] *directory* 25 push [**-cldrSRM**] [**-t** *tags*] *directory*
26 : Pushes all local changes to the server. This uploads all locally modified 26 : Pushes all local changes to the server. This uploads all locally modified
27 files and deletes all locally deleted files on the server. If conflict 27 files and deletes all locally deleted files on the server. If conflict
28 detection is not disabled, all files that are also modified on the server 28 detection is not disabled, all files that are also modified on the server
29 will be skipped. 29 will be skipped.
30 30
31 archive [**-cld**] [**-t** *tags*] *directory* 31 archive [**-cldSRM**] [**-t** *tags*] *directory*
32 : Uploads all new and modified files to the server. The command is similar to 32 : Uploads all new and modified files to the server. The command is similar to
33 the push command (with the same conflict behavior), however it does not 33 the push command (with the same conflict behavior), however it does not
34 delete files on the server. 34 delete files on the server.
35
36 restore [**-ldRM**] [**-V** *version] [**-s** *directory*] [*file...*]
37 : Restores local files by downloading them from the server. The *file* argument
38 can be a local absolute or relative file path.
35 39
36 list-conflicts [**-v**] *directory* 40 list-conflicts [**-v**] *directory*
37 : Lists all conflicting files. If verbose output is enabled, the output also 41 : Lists all conflicting files. If verbose output is enabled, the output also
38 shows the number of entries for the same conflicting file. 42 shows the number of entries for the same conflicting file.
39 43
49 with caution. 53 with caution.
50 54
51 trash-info *directory* 55 trash-info *directory*
52 : Shows the trash directory path for a *directory*, the number of files 56 : Shows the trash directory path for a *directory*, the number of files
53 currently in the trash and the space they consume. 57 currently in the trash and the space they consume.
58
59 list-versions [**-s** *syncdir*] *file*
60 : Lists all available file versions.
54 61
55 empty-trash *directory* 62 empty-trash *directory*
56 : Removes all files from the trash of the given *directory*. 63 : Removes all files from the trash of the given *directory*.
57 64
58 add-tag [**-s** *syncdir*] *file* *tag* 65 add-tag [**-s** *syncdir*] *file* *tag*

mercurial