docs/src/get.md

changeset 282
3070d72f54af
parent 266
8c44c5919691
child 283
0e36bb75a732
equal deleted inserted replaced
281:ddb5e8f2a43d 282:3070d72f54af
1 dav get 1 dav get
2 ======= 2 =======
3 3
4 **`get [-pcR] [-o <file>] [-u <date>] <url>`** 4 **`get [-pcR] [-o <file>] [-u <date>] <url>`**
5 5
6 Downloads a resource. It can also download collections and its child resources. 6 Downloads a resource. This command also downloads collections and its child resources when the **`-R`** option is used.
7 When downloading a single resource, the default local file name is the resource 7 When downloading a single resource, the default local file name is the resource
8 name. When downloading collections, it does NOT create a local directory with 8 name. When downloading collections, it does **not** create a local directory with
9 the collection's name and places it children in there, but it downloads the 9 the collection's name and places its children in there, but it downloads the
10 children directly to the current working directory. 10 children directly to the current working directory.
11 11
12 **`-p`** disable file name and content decryption. You get exactly what is stored 12 **`-p`** disable file name and content decryption. You get exactly what is stored
13 on the server. 13 on the server.
14 14
16 16
17 **`-R`** download a collection 17 **`-R`** download a collection
18 18
19 **`-o <file>`** specify the local output file. A **-** indicates stdout 19 **`-o <file>`** specify the local output file. A **-** indicates stdout
20 20
21 **`-u <date>`** download only files which are modified since the specified date. Uses the http date format 21 **`-u <date>`** download only files which are modified since the specified date. Uses the HTTP date format
22 22
23 23

mercurial