UNIXworkcode

1 --- 2 title: 'dav get' 3 --- 4 5 **`dav get [-pcRK] [-o <file>] [-u <date>] [-V <version>] <url>`** 6 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 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 11 children directly to the current working directory. 12 13 **`-p`** disable file name and content decryption. You get exactly what is stored 14 on the server. 15 16 **`-c`** enable file name and content decryption 17 18 **`-R`** download a collection 19 20 **`-K`** download only files that don't exist locally 21 22 **`-o <file>`** specify the local output file. A **-** indicates stdout 23 24 **`-u <date>`** download only files which are modified since the specified date. Uses the HTTP date format 25 26 **`-V <version>`** downloads a specific version of the resource. Available versions can be listed with the *list-versions* command 27 28 29