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