docs/html/info.html

changeset 282
3070d72f54af
parent 273
c743721d566f
child 283
0e36bb75a732
equal deleted inserted replaced
281:ddb5e8f2a43d 282:3070d72f54af
64 64
65 <!-- begin content --> 65 <!-- begin content -->
66 <div class="content"> 66 <div class="content">
67 <h1 id="dav-info">dav info</h1> 67 <h1 id="dav-info">dav info</h1>
68 <p><strong><code>info [-pc] &lt;url&gt;</code></strong></p> 68 <p><strong><code>info [-pc] &lt;url&gt;</code></strong></p>
69 <p>Prints some information and lists all properties for the resource specified by url.</p> 69 <p>Prints some information and lists all properties for the resource specified by <em>url</em>.</p>
70 <h3 id="example-1-info-of-a-collection">Example 1: info of a collection</h3> 70 <h3 id="example-1-info-of-a-collection">Example 1: info of a collection</h3>
71 <p>In this example <em>myserv</em> is a configured repository with the base url <em>https://example.com/webdav/</em>. Because <em>col</em> is not encrypted, the <em>url</em> is just the <em>path</em> appended to base url.</p> 71 <p>In this example <em>myserv</em> is a configured repository with the base url <em>https://example.com/webdav/</em>. Because the collection is not encrypted, the <em>url</em> in the info output is just the <em>path</em> appended to the base url.</p>
72 <pre><code>$ dav info myserv/col/ 72 <pre><code>$ dav info myserv/col/
73 name: col 73 name: col
74 path: /col 74 path: /col
75 url: https://example.com/webdav/col 75 url: https://example.com/webdav/col
76 type: collection 76 type: collection
80 creationdate: 2017-06-14T09:32:43Z 80 creationdate: 2017-06-14T09:32:43Z
81 getetag: &quot;1000-551e83bebc19c&quot; 81 getetag: &quot;1000-551e83bebc19c&quot;
82 getlastmodified: Wed, 14 Jun 2017 09:32:43 GMT 82 getlastmodified: Wed, 14 Jun 2017 09:32:43 GMT
83 supportedlock:</code></pre> 83 supportedlock:</code></pre>
84 <h3 id="example-2-encrypted-resource">Example 2: encrypted resource</h3> 84 <h3 id="example-2-encrypted-resource">Example 2: encrypted resource</h3>
85 <p>With encrypted resources, the <em>path</em> and <em>url</em> are different. The real resource name is random, but the name used by <em>dav</em> is stored in the <em>crypto-name</em> property.</p> 85 <p>With encrypted resources, the <em>url</em> in the info output looks different. The real resource name may be disguised, but the name used by <em>dav</em> is stored encrypted and base64 encoded in the <em>crypto-name</em> property. Read the <a href="./encryption.html">encryption</a> documentation to learn more about the davutils encryption feature.</p>
86 <pre><code>$ dav info -c myserv/crres 86 <pre><code>$ dav info -c myserv/crres
87 name: crres 87 name: crres
88 path: /crres 88 path: /crres
89 url: https://example.com/webdav/wsIwbLxuJQTGtgiMAD1KGeaY 89 url: https://example.com/webdav/wsIwbLxuJQTGtgiMAD1KGeaY
90 type: resource 90 type: resource

mercurial