1 dav info |
1 dav info |
2 ======== |
2 ======== |
3 |
3 |
4 **`info [-pc] <url>`** |
4 **`info [-pc] <url>`** |
5 |
5 |
6 Prints some information and lists all properties for the resource specified by url. |
6 Prints some information and lists all properties for the resource specified by *url*. |
7 |
7 |
8 ### Example 1: info of a collection |
8 ### Example 1: info of a collection |
9 |
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. |
10 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. |
11 |
11 |
12 $ dav info myserv/col/ |
12 $ dav info myserv/col/ |
13 name: col |
13 name: col |
14 path: /col |
14 path: /col |
15 url: https://example.com/webdav/col |
15 url: https://example.com/webdav/col |
22 getlastmodified: Wed, 14 Jun 2017 09:32:43 GMT |
22 getlastmodified: Wed, 14 Jun 2017 09:32:43 GMT |
23 supportedlock: |
23 supportedlock: |
24 |
24 |
25 ### Example 2: encrypted resource |
25 ### Example 2: encrypted resource |
26 |
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. |
27 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. |
|
28 Read the [encryption][1] documentation to learn more about the davutils encryption feature. |
28 |
29 |
29 $ dav info -c myserv/crres |
30 $ dav info -c myserv/crres |
30 name: crres |
31 name: crres |
31 path: /crres |
32 path: /crres |
32 url: https://example.com/webdav/wsIwbLxuJQTGtgiMAD1KGeaY |
33 url: https://example.com/webdav/wsIwbLxuJQTGtgiMAD1KGeaY |