docs/html/list.html

changeset 282
3070d72f54af
parent 273
c743721d566f
child 283
0e36bb75a732
--- a/docs/html/list.html	Sat Aug 05 11:33:17 2017 +0200
+++ b/docs/html/list.html	Sat Aug 05 13:35:27 2017 +0200
@@ -66,9 +66,9 @@
 <div class="content">
 <h1 id="dav-list">dav list</h1>
 <p><strong><code>dav list [-altepcR] [-u &lt;date&gt;] &lt;url&gt;</code></strong></p>
-<p>Lists child resources of the specified collection. Without any options it shows only the direct children and hides files beginning with a dot.</p>
+<p>Lists child resources of the specified collection. Without any option it shows only the direct children and hides files beginning with a dot. The behavior is quite similar to that of the unix tool <code>ls</code>.</p>
 <h2 id="options">Options</h2>
-<p><strong><code>-a</code></strong> don't hide files whose names begins with a dot <code>.</code></p>
+<p><strong><code>-a</code></strong> don't hide files whose names begin with a dot <code>.</code></p>
 <p><strong><code>-l</code></strong> show additional information for resources</p>
 <p>Example:</p>
 <pre><code>--     4.2 KiB  Oct 11  2015  somefile</code></pre>
@@ -77,20 +77,23 @@
 <li>Field: <code>d-</code> indicates a collection</li>
 <li>Field: <code>-c</code> indicates an encrypted resource</li>
 </ol>
-<p>Also encrypted collections are possible, but only the collection name is encrypted, the content may be unencrypted.</p>
+<p>Encrypted collections are also possible, but only the collection name is encrypted, the content may be unencrypted.</p>
 <p>The second column in the <code>list -l</code> output is the resource size. The number has always a suffix (bytes, KiB, MiB, GiB, TiB). To get the exact content-length in bytes you can use the <a href="./info.html">dav info</a> command.</p>
-<p>The third column is the date of the last modification. The <code>strftime</code> format is <code>%b %d %H:%M</code> if the year is the same. Otherwise the format is <code>%b %d  %Y</code>.</p>
+<p>The third column is the date of the last modification. The <code>strftime</code> format is <code>%b %d %H:%M</code> if the year is the current year. Otherwise the format is <code>%b %d  %Y</code>.</p>
 <p>The last column is the resource name. If the <code>-R</code> option is specified, the resource path is shown.</p>
 <p><strong><code>-t</code></strong> this options only works in combination with <code>-l</code> and it adds the resource content type to the output (after the flags)</p>
 <p><strong><code>-e</code></strong> similar to <code>-l</code>, but with 6 flag fields. Currently only the first 4 fields are used. The last two are reserved for future use.</p>
-<ol start="3" style="list-style-type: decimal">
-<li>Field: <strong>l</strong> indicates a locked resource</li>
-<li>Field: <strong>x</strong> indicates a executable resource (executable property with http://apache.org/dav/props/ namespace)</li>
+<ol style="list-style-type: decimal">
+<li>Field: <code>d---</code> indicates a collection</li>
+<li>Field: <code>-c--</code> indicates an encrypted resource</li>
+<li>Field: <code>--l-</code> indicates a locked resource</li>
+<li>Field: <code>---x</code> indicates an executable resource (executable property with http://apache.org/dav/props/ namespace)</li>
 </ol>
+<p>All combinations of these four flags are possible.</p>
 <p><strong><code>-p</code></strong> disable file name and path decryption if enabled</p>
 <p><strong><code>-c</code></strong> enable file name and path decryption</p>
 <p><strong><code>-R</code></strong> recursively show all resources in the collection and all child collections</p>
-<p><strong><code>-u &lt;date&gt;</code></strong> show only resources with a lastmodified date after the specified date. Uses the http date format</p>
+<p><strong><code>-u &lt;date&gt;</code></strong> show only resources with a <code>lastmodified</code> date after the specified date. Uses the HTTP date format.</p>
 <p><strong>Command alias:</strong> ls</p>
 </div>
 <!-- end content -->

mercurial