docs/src/info.md

changeset 265
ee9e63c437c4
child 282
3070d72f54af
equal deleted inserted replaced
264:94c0a938b66c 265:ee9e63c437c4
1 dav info
2 ========
3
4 **`info [-pc] <url>`**
5
6 Prints some information and lists all properties for the resource specified by url.
7
8 ### Example 1: info of a collection
9
10 In this example *myserv* is a configured repository with the base url *https://example.com/webdav/*. Because *col* is not encrypted, the *url* is just the *path* appended to base url.
11
12 $ dav info myserv/col/
13 name: col
14 path: /col
15 url: https://example.com/webdav/col
16 type: collection
17 size: 28
18
19 namespace: DAV:
20 creationdate: 2017-06-14T09:32:43Z
21 getetag: "1000-551e83bebc19c"
22 getlastmodified: Wed, 14 Jun 2017 09:32:43 GMT
23 supportedlock:
24
25 ### Example 2: encrypted resource
26
27 With encrypted resources, the *path* and *url* are different. The real resource name is random, but the name used by *dav* is stored in the *crypto-name* property.
28
29 $ dav info -c myserv/crres
30 name: crres
31 path: /crres
32 url: https://example.com/webdav/wsIwbLxuJQTGtgiMAD1KGeaY
33 type: resource
34 size: 48 bytes
35
36 namespace: DAV:
37 creationdate: 2017-07-09T16:18:09Z
38 getcontentlength: 48
39 getetag: "30-553e4cfecd170"
40 getlastmodified: Sun, 09 Jul 2017 16:18:09 GMT
41 supportedlock:
42
43 namespace: http://apache.org/dav/props/
44 executable: F
45
46 namespace: http://davutils.org/
47 crypto-hash: fm4zstp/FevTs1aoUXc3+mqTmAf2Go+zQ34rSp8/ixDlGLQJXR74Je+WMl1zxZKbS/+5VwDhyZ9pT3gInsq2SA==
48 crypto-key: mykey
49 crypto-name: ZU+lZtFi3dprBz44714plYwfRnhyI/apYq46Sk/B6QU=

mercurial