docs/html/date.html

changeset 285
02d3e4b1245f
parent 283
0e36bb75a732
child 320
12ed560c926c
equal deleted inserted replaced
284:8e7ef0675946 285:02d3e4b1245f
8 <style type="text/css">code{white-space: pre;}</style> 8 <style type="text/css">code{white-space: pre;}</style>
9 <link rel="stylesheet" href="davdoc.css" type="text/css" /> 9 <link rel="stylesheet" href="davdoc.css" type="text/css" />
10 </head> 10 </head>
11 <body> 11 <body>
12 <div class="header"> 12 <div class="header">
13 <span>davutils documentation</span> 13 <a href="./index.html"><span>DavUtils documentation</span></a>
14 </div> 14 </div>
15 <div class="sidebar"> 15 <div class="sidebar">
16 <div class="nav"> 16 <div class="nav">
17 <h3>dav</h3> 17 <h3>dav</h3>
18 <ul> 18 <ul>
65 <!-- begin content --> 65 <!-- begin content -->
66 <div class="content"> 66 <div class="content">
67 <div id="header"> 67 <div id="header">
68 <h1 class="title">dav date</h1> 68 <h1 class="title">dav date</h1>
69 </div> 69 </div>
70 <p><strong><code>date [url]</code></strong></p> 70 <p><strong><code>dav date [url]</code></strong></p>
71 <p>The purpose of this command is to get the current date from a server and print it to stdout (HTTP date format). This in useful in combination with the <strong><code>-u</code></strong> option for the <code>list</code> and <code>get</code> command.</p> 71 <p>The purpose of this command is to get the current date from a server and print it to stdout (HTTP date format). This in useful in combination with the <strong><code>-u</code></strong> option for the <code>list</code> and <code>get</code> command.</p>
72 <p>The <em>url</em> can be any http url. If no <em>url</em> is specified, the local time is used.</p> 72 <p>The <em>url</em> can be any http url. If no <em>url</em> is specified, the local time is used.</p>
73 <h3 id="example-incremental-dav-get">Example: incremental dav get</h3> 73 <h3 id="example-incremental-dav-get">Example: incremental dav get</h3>
74 <p>It is possible to download only resources, which are modified since a specified date. The <em>date</em> command allows you to easily store the date of the last <em>get</em>.</p> 74 <p>It is possible to download only resources, which are modified since a specified date. The <em>date</em> command allows you to easily store the date of the last <em>get</em>.</p>
75 <pre><code>$ dav get -R myserv/col/ 75 <pre><code>$ dav get -R myserv/col/

mercurial