1 .\" Automatically generated by Pandoc 1.19.2.4 |
1 .\" Automatically generated by Pandoc 2.2.1 |
2 .\" |
2 .\" |
3 .TH "DAV\-SYNC" "1" "July 1, 2018" "Version 1.2" "DavUtils User Manuals" |
3 .TH "DAV\-SYNC" "1" "December 15, 2019" "Version 1.3" "DavUtils User Manuals" |
4 .hy |
4 .hy |
5 .SH NAME |
5 .SH NAME |
6 .PP |
6 .PP |
7 \f[B]dav\-sync\f[] \- synchronize a local directory with a WebDAV |
7 \f[B]dav\-sync\f[] \- synchronize a local directory with a WebDAV |
8 collection. |
8 collection. |
9 .SH SYNOPSIS |
9 .SH SYNOPSIS |
10 .PP |
10 .PP |
11 \f[B]dav\-sync\f[] \f[I]command\f[] [\f[I]options\f[]] |
11 \f[B]dav\-sync\f[] \f[I]command\f[] [\f[I]options\f[]] |
12 \f[I]arguments\f[]... |
12 \f[I]arguments\f[]\&... |
13 .SH DESCRIPTION |
13 .SH DESCRIPTION |
14 .PP |
14 .PP |
15 TODO |
15 TODO |
16 .SH COMMANDS |
16 .SH COMMANDS |
17 .TP |
17 .TP |
23 disabled, the local file is renamed and an entry in the conflict |
23 disabled, the local file is renamed and an entry in the conflict |
24 database is added. |
24 database is added. |
25 .RS |
25 .RS |
26 .RE |
26 .RE |
27 .TP |
27 .TP |
28 .B push [\f[B]\-cldr\f[]] [\f[B]\-t\f[] \f[I]tags\f[]] \f[I]directory\f[] |
28 .B push [\f[B]\-cldrSRM\f[]] [\f[B]\-t\f[] \f[I]tags\f[]] \f[I]directory\f[] |
29 Pushes all local changes to the server. |
29 Pushes all local changes to the server. |
30 This uploads all locally modified files and deletes all locally deleted |
30 This uploads all locally modified files and deletes all locally deleted |
31 files on the server. |
31 files on the server. |
32 If conflict detection is not disabled, all files that are also modified |
32 If conflict detection is not disabled, all files that are also modified |
33 on the server will be skipped. |
33 on the server will be skipped. |
34 .RS |
34 .RS |
35 .RE |
35 .RE |
36 .TP |
36 .TP |
37 .B archive [\f[B]\-cld\f[]] [\f[B]\-t\f[] \f[I]tags\f[]] \f[I]directory\f[] |
37 .B archive [\f[B]\-cldSRM\f[]] [\f[B]\-t\f[] \f[I]tags\f[]] \f[I]directory\f[] |
38 Uploads all new and modified files to the server. |
38 Uploads all new and modified files to the server. |
39 The command is similar to the push command (with the same conflict |
39 The command is similar to the push command (with the same conflict |
40 behavior), however it does not delete files on the server. |
40 behavior), however it does not delete files on the server. |
|
41 .RS |
|
42 .RE |
|
43 .TP |
|
44 .B restore [\f[B]\-ldRM\f[]] [\f[B]\-V\f[] *version] [\f[B]\-s\f[] \f[I]directory\f[]] [\f[I]file\&...\f[]] |
|
45 Restores local files by downloading them from the server. |
|
46 The \f[I]file\f[] argument can be a local absolute or relative file |
|
47 path. |
41 .RS |
48 .RS |
42 .RE |
49 .RE |
43 .TP |
50 .TP |
44 .B list\-conflicts [\f[B]\-v\f[]] \f[I]directory\f[] |
51 .B list\-conflicts [\f[B]\-v\f[]] \f[I]directory\f[] |
45 Lists all conflicting files. |
52 Lists all conflicting files. |
68 .RE |
75 .RE |
69 .TP |
76 .TP |
70 .B trash\-info \f[I]directory\f[] |
77 .B trash\-info \f[I]directory\f[] |
71 Shows the trash directory path for a \f[I]directory\f[], the number of |
78 Shows the trash directory path for a \f[I]directory\f[], the number of |
72 files currently in the trash and the space they consume. |
79 files currently in the trash and the space they consume. |
|
80 .RS |
|
81 .RE |
|
82 .TP |
|
83 .B list\-versions [\f[B]\-s\f[] \f[I]syncdir\f[]] \f[I]file\f[] |
|
84 Lists all available file versions. |
73 .RS |
85 .RS |
74 .RE |
86 .RE |
75 .TP |
87 .TP |
76 .B empty\-trash \f[I]directory\f[] |
88 .B empty\-trash \f[I]directory\f[] |
77 Removes all files from the trash of the given \f[I]directory\f[]. |
89 Removes all files from the trash of the given \f[I]directory\f[]. |