UNIXworkcode

1 --- 2 title: 'dav export' 3 --- 4 5 **`dav export [-pc] [-o <file>] [-u <date>] <url>`** 6 7 Downloads a resource or a collection with all child resources, and writes the contents to an archive file. The Output is written to stdout, unless the **`-o`** option is used. 8 9 Currently the only available archive format is the ustar format. 10 11 These archive files can be uploaded to an collection with the [dav import][1] command. 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 **`-o <file>`** specify the local output file. A **-** indicates stdout 19 20 **`-u <date>`** download only files which are modified since the specified date. Uses the HTTP date format 21 22 [1]: ./import.html 23 24 ### Example: create tar file from collection 25 26 $ dav export -o collection.tar myserv/col/ 27 28