docs/src/get.md

Sat, 05 Aug 2017 13:35:27 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 05 Aug 2017 13:35:27 +0200
changeset 282
3070d72f54af
parent 266
8c44c5919691
child 283
0e36bb75a732
permissions
-rw-r--r--

more minor improvements to the documentation

265
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 dav get
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
2 =======
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4 **`get [-pcR] [-o <file>] [-u <date>] <url>`**
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
5
282
3070d72f54af more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents: 266
diff changeset
6 Downloads a resource. This command also downloads collections and its child resources when the **`-R`** option is used.
265
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
7 When downloading a single resource, the default local file name is the resource
282
3070d72f54af more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents: 266
diff changeset
8 name. When downloading collections, it does **not** create a local directory with
3070d72f54af more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents: 266
diff changeset
9 the collection's name and places its children in there, but it downloads the
265
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
10 children directly to the current working directory.
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
11
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
12 **`-p`** disable file name and content decryption. You get exactly what is stored
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
13 on the server.
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
14
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
15 **`-c`** enable file name and content decryption
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
16
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
17 **`-R`** download a collection
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
18
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
19 **`-o <file>`** specify the local output file. A **-** indicates stdout
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
20
282
3070d72f54af more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents: 266
diff changeset
21 **`-u <date>`** download only files which are modified since the specified date. Uses the HTTP date format
265
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
22
ee9e63c437c4 adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
23

mercurial