|
1 Commands |
|
2 ======== |
|
3 |
|
4 Overview |
|
5 -------- |
|
6 |
|
7 List resources: |
|
8 |
|
9 dav list <url> |
|
10 |
|
11 Download resource: |
|
12 |
|
13 dav get <url> |
|
14 |
|
15 Download all resources from a collection: |
|
16 |
|
17 dav get -R <url> |
|
18 |
|
19 Upload a file: |
|
20 |
|
21 dav put <url> <file> |
|
22 |
|
23 Upload all files from a directory: |
|
24 |
|
25 dav put -R <url> <dir> |
|
26 |
|
27 Duplicate a resource or a collection on a server: |
|
28 |
|
29 dav copy <src-url> <dst-url> |
|
30 |
|
31 There is also a move operation similar to copy: |
|
32 |
|
33 dav move <src-url> <dst-url> |
|
34 |
|
35 These are the most common commands. There are also more commands for webdav locking and manipulating webdav properties. |
|
36 |
|
37 Common options |
|
38 -------------- |
|
39 |
|
40 **`-N`** disable any authentication prompt. If authentication is required, dav will abort. |
|
41 |
|
42 **`-i`** disable TLS certificate verification |
|
43 |
|
44 **`-v`** enable verbose output. Internally `CURLOPT_VERBOSE` is set to 1 and verbose output is printed on stderr. |