1 .\" Automatically generated by Pandoc 1.16.0.2 |
1 .\" Automatically generated by Pandoc 2.2.1 |
2 .\" |
2 .\" |
3 .TH "DAV" "1" "July 1, 2018" "Version 1.2" "DavUtils User Manuals" |
3 .TH "DAV" "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\f[] \- command line WebDAV client |
7 \f[B]dav\f[] \- command line WebDAV client |
8 .SH SYNOPSIS |
8 .SH SYNOPSIS |
9 .PP |
9 .PP |
10 \f[B]dav\f[] \f[I]command\f[] [\f[I]options\f[]] \f[I]arguments\f[]... |
10 \f[B]dav\f[] \f[I]command\f[] [\f[I]options\f[]] \f[I]arguments\f[]\&... |
11 .SH DESCRIPTION |
11 .SH DESCRIPTION |
12 .PP |
12 .PP |
13 TODO |
13 TODO |
14 .SH COMMANDS |
14 .SH COMMANDS |
15 .TP |
15 .TP |
16 .B list [\f[B]\-altdepcR\f[]] [\f[B]\-u\f[] \f[I]date\f[]] \f[I]url\f[] |
16 .B list [\f[B]\-altdepcR\f[]] [\f[B]\-u\f[] \f[I]date\f[]] \f[I]url\f[] |
17 Lists the files at \f[I]url\f[]. |
17 Lists the files at \f[I]url\f[]. |
18 .RS |
18 .RS |
19 .RE |
19 .RE |
20 .TP |
20 .TP |
21 .B get [\f[B]\-pcRK\f[]] [\f[B]\-o\f[] \f[I]file\f[]] [\f[B]\-u\f[] \f[I]date\f[]] \f[I]url\f[] |
21 .B get [\f[B]\-pcRK\f[]] [\f[B]\-o\f[] \f[I]file\f[]] [\f[B]\-u\f[] \f[I]date\f[]] [\f[B]\-V\f[] \f[I]version\f[]] \f[I]url\f[] |
22 Downloads a resource from \f[I]url\f[]. |
22 Downloads a resource from \f[I]url\f[]. |
23 .RS |
23 .RS |
24 .RE |
24 .RE |
25 .TP |
25 .TP |
26 .B put [\f[B]\-pcR\f[]] [\f[B]\-k\f[] \f[I]key\f[]] [\f[B]\-L\f[] \f[I]lock\f[]] \f[I]url\f[] \f[I]file\f[] |
26 .B put [\f[B]\-pcR\f[]] [\f[B]\-k\f[] \f[I]key\f[]] [\f[B]\-L\f[] \f[I]lock\f[]] \f[I]url\f[] \f[I]file\f[] |
44 .RS |
44 .RS |
45 .RE |
45 .RE |
46 .TP |
46 .TP |
47 .B move [\f[B]\-pcO\f[]] [\f[B]\-L\f[] \f[I]lock\f[]] \f[I]srcurl\f[] \f[I]desturl\f[] |
47 .B move [\f[B]\-pcO\f[]] [\f[B]\-L\f[] \f[I]lock\f[]] \f[I]srcurl\f[] \f[I]desturl\f[] |
48 Moves a resource or collection from \f[I]srcurl\f[] to \f[I]desturl\f[]. |
48 Moves a resource or collection from \f[I]srcurl\f[] to \f[I]desturl\f[]. |
|
49 .RS |
|
50 .RE |
|
51 .TP |
|
52 .B rename [\f[B]\-pcO\f[]] [\f[B]\-L\f[] \f[I]lock\f[]] \f[I]srcurl\f[] \f[I]name\f[] |
|
53 Changes the name of a resource or collection at \f[I]srcurl\f[] to |
|
54 \f[I]name\f[]. |
49 .RS |
55 .RS |
50 .RE |
56 .RE |
51 .TP |
57 .TP |
52 .B export [\f[B]\-pc\f[]] [\f[B]\-o\f[] \f[I]file\f[]] [\f[B]\-u\f[] \f[I]date\f[]] \f[I]url\f[] |
58 .B export [\f[B]\-pc\f[]] [\f[B]\-o\f[] \f[I]file\f[]] [\f[B]\-u\f[] \f[I]date\f[]] \f[I]url\f[] |
53 Exports a resource or collection to a \f[B]tar(5)\f[] archive. |
59 Exports a resource or collection to a \f[B]tar(5)\f[] archive. |
119 If \f[I]url\f[] is not specified, this command prints the local time. |
125 If \f[I]url\f[] is not specified, this command prints the local time. |
120 This command is useful, if the server clock and the local clock are not |
126 This command is useful, if the server clock and the local clock are not |
121 in sync. |
127 in sync. |
122 .RS |
128 .RS |
123 .RE |
129 .RE |
|
130 .TP |
|
131 .B versioncontrol [\f[B]\-pc\f[]] \f[I]url\f[] |
|
132 Puts the resource, specified by url, under version control. |
|
133 This is required in order to use other versioning commands with this |
|
134 resource. |
|
135 .RS |
|
136 .RE |
|
137 .TP |
|
138 .B list\-versions [\f[B]\-pc\f[]] \f[I]url\f[] |
|
139 Lists all versions of a version\-controlled resource. |
|
140 .RS |
|
141 .RE |
|
142 .TP |
|
143 .B checkout [\f[B]\-pc\f[]] \f[I]url\f[] |
|
144 Changes the state of a resource to checked\-out to allow modifications |
|
145 to the content and properties. |
|
146 .RS |
|
147 .RE |
|
148 .TP |
|
149 .B checkin [\f[B]\-pc\f[]] \f[I]url\f[] |
|
150 Changes the state of a resource to checked\-in. |
|
151 This will create a new version of the resource. |
|
152 In the checked\-in state the resource cannot be modified. |
|
153 .RS |
|
154 .RE |
|
155 .TP |
|
156 .B uncheckout [\f[B]\-pc\f[]] \f[I]url\f[] |
|
157 Cancels all modification of the resource and sets the state to |
|
158 checked\-in without creating a new version. |
|
159 .RS |
|
160 .RE |
124 .SH CONFIGURATION COMMANDS |
161 .SH CONFIGURATION COMMANDS |
125 .TP |
162 .TP |
126 .B add\-repository |
163 .B add\-repository |
127 This command runs an interactive assistant that creates a repository |
164 This command runs an interactive assistant that creates a repository |
128 configuration. |
165 configuration. |
140 .RS |
177 .RS |
141 .RE |
178 .RE |
142 .TP |
179 .TP |
143 .B check\-config |
180 .B check\-config |
144 Validates the \f[B]$HOME/.dav/config.xml\f[] configuration file. |
181 Validates the \f[B]$HOME/.dav/config.xml\f[] configuration file. |
|
182 .RS |
|
183 .RE |
|
184 .TP |
|
185 .B repository\-url [\f[B]\-p\f[]] \f[I]repository\f[] |
|
186 Prints the repository url. |
|
187 .RS |
|
188 .RE |
|
189 .TP |
|
190 .B add\-user |
|
191 Adds a user to the secret store. |
|
192 .RS |
|
193 .RE |
|
194 .TP |
|
195 .B remove\-user |
|
196 Removes a user from the secret store. |
|
197 .RS |
|
198 .RE |
|
199 .TP |
|
200 .B edit\-user |
|
201 Interactive command for modifying users stored in the secret store. |
|
202 .RS |
|
203 .RE |
|
204 .TP |
|
205 .B list\-users |
|
206 Lists all users stored in the secret store. |
145 .RS |
207 .RS |
146 .RE |
208 .RE |
147 .SH GENERAL OPTIONS |
209 .SH GENERAL OPTIONS |
148 .PP |
210 .PP |
149 The following options can be used with all commands. |
211 The following options can be used with all commands. |