66 <div class="content"> |
66 <div class="content"> |
67 <h1 id="dav-move">dav move</h1> |
67 <h1 id="dav-move">dav move</h1> |
68 <p><strong><code>move [-pcO] [-L <lock>] <url> <url></code></strong></p> |
68 <p><strong><code>move [-pcO] [-L <lock>] <url> <url></code></strong></p> |
69 <p>Moves the resource identified by <em>url1</em> to the location <em>url2</em>. Currently <em>url1</em> and <em>url2</em> must be on the same host.</p> |
69 <p>Moves the resource identified by <em>url1</em> to the location <em>url2</em>. Currently <em>url1</em> and <em>url2</em> must be on the same host.</p> |
70 <p>If <em>url2</em> already exists, the command aborts, unless the <code>-O</code> option is specified.</p> |
70 <p>If <em>url2</em> already exists, the command aborts, unless the <code>-O</code> option is specified.</p> |
71 <p>The command uses a single WebDAV MOVE request to move the resources. It does not handle the dav encryption functionality, which means it does not modify <em>url2</em> if encryption is enabled.</p> |
71 <p>The command uses a single WebDAV MOVE request to move the resources. You may use file name and path decryption to copy and encrypted resource. Please note that the target location will be exactly <em>url2</em>, so the top most collection name will not be disguised. See [encryption][2] for more details on how encryption works.</p> |
72 <p><strong><code>-p</code></strong> disable file name and path decryption if enabled. This applies only to <em>url1</em></p> |
72 <p><strong><code>-p</code></strong> disable file name and path decryption for <em>url1</em></p> |
73 <p><strong><code>-c</code></strong> enable file name and path decryption This applies only to <em>url1</em></p> |
73 <p><strong><code>-c</code></strong> enable file name and path decryption for <em>url1</em></p> |
74 <p><strong><code>-O</code></strong> override the destination resource</p> |
74 <p><strong><code>-O</code></strong> overwrite the destination resource</p> |
75 <p><strong><code>-L <lock></code></strong> use a lock token. See <a href="./lock.html">dav lock</a></p> |
75 <p><strong><code>-L <lock></code></strong> use a lock token. See <a href="./lock.html">dav lock</a></p> |
76 <p><strong>Command alias:</strong> mv</p> |
76 <p><strong>Command alias:</strong> mv</p> |
77 </div> |
77 </div> |
78 <!-- end content --> |
78 <!-- end content --> |
79 </body> |
79 </body> |