1 --- |
1 --- |
2 title: 'dav get' |
2 title: 'dav get' |
3 --- |
3 --- |
4 |
4 |
5 **`dav get [-pcR] [-o <file>] [-u <date>] <url>`** |
5 **`dav get [-pcRK] [-o <file>] [-u <date>] <url>`** |
6 |
6 |
7 Downloads a resource. This command also downloads collections and its child resources when the **`-R`** option is used. |
7 Downloads a resource. This command also downloads collections and its child resources when the **`-R`** option is used. |
8 When downloading a single resource, the default local file name is the resource |
8 When downloading a single resource, the default local file name is the resource |
9 name. When downloading collections, it does **not** create a local directory with |
9 name. When downloading collections, it does **not** create a local directory with |
10 the collection's name and places its children in there, but it downloads the |
10 the collection's name and places its children in there, but it downloads the |
15 |
15 |
16 **`-c`** enable file name and content decryption |
16 **`-c`** enable file name and content decryption |
17 |
17 |
18 **`-R`** download a collection |
18 **`-R`** download a collection |
19 |
19 |
|
20 **`-K`** download only files that don't exist locally |
|
21 |
20 **`-o <file>`** specify the local output file. A **-** indicates stdout |
22 **`-o <file>`** specify the local output file. A **-** indicates stdout |
21 |
23 |
22 **`-u <date>`** download only files which are modified since the specified date. Uses the HTTP date format |
24 **`-u <date>`** download only files which are modified since the specified date. Uses the HTTP date format |
23 |
25 |
24 |
26 |