docs/html/copy.html

changeset 429
1607450065ba
parent 320
12ed560c926c
child 563
3dffe58a573f
equal deleted inserted replaced
428:b50ade8e7197 429:1607450065ba
24 <li><a href="put.html">put</a></li> 24 <li><a href="put.html">put</a></li>
25 <li><a href="mkdir.html">mkdir</a></li> 25 <li><a href="mkdir.html">mkdir</a></li>
26 <li><a href="remove.html">remove</a></li> 26 <li><a href="remove.html">remove</a></li>
27 <li><a href="copy.html">copy</a></li> 27 <li><a href="copy.html">copy</a></li>
28 <li><a href="move.html">move</a></li> 28 <li><a href="move.html">move</a></li>
29 <li><a href="export.html">export</a></li>
30 <li><a href="import.html">import</a></li>
29 <li><a href="get-property.html">get-property</a></li> 31 <li><a href="get-property.html">get-property</a></li>
30 <li><a href="set-property.html">set-property</a></li> 32 <li><a href="set-property.html">set-property</a></li>
31 <li><a href="remove-property.html">remove-property</a></li> 33 <li><a href="remove-property.html">remove-property</a></li>
32 <li><a href="lock.html">lock</a></li> 34 <li><a href="lock.html">lock</a></li>
33 <li><a href="unlock.html">unlock</a></li> 35 <li><a href="unlock.html">unlock</a></li>
34 <li><a href="info.html">info</a></li> 36 <li><a href="info.html">info</a></li>
35 <li><a href="date.html">date</a></li> 37 <li><a href="date.html">date</a></li>
36 <li><a href="add-repository.html">add-repository</a></li> 38 <li><a href="add-repository.html">add-repository</a></li>
39 <li><a href="remove-repository.html">remove-repository</a></li>
37 <li><a href="list-repositories.html">list-repositories</a></li> 40 <li><a href="list-repositories.html">list-repositories</a></li>
38 <li><a href="check-config.html">check-config</a></li> 41 <li><a href="check-config.html">check-config</a></li>
39 </ul> 42 </ul>
40 <li><a href="configuration.html">Configuration</a></li> 43 <li><a href="configuration.html">Configuration</a></li>
41 <li><a href="encryption.html">Encryption</a></li> 44 <li><a href="encryption.html">Encryption</a></li>
52 <li><a href="archive.html">archive</a></li> 55 <li><a href="archive.html">archive</a></li>
53 <li><a href="resolve-conflicts.html">resolve-conflicts</a></li> 56 <li><a href="resolve-conflicts.html">resolve-conflicts</a></li>
54 <li><a href="delete-conflicts.html">delete-conflicts</a></li> 57 <li><a href="delete-conflicts.html">delete-conflicts</a></li>
55 <li><a href="trash-info.html">trash-info</a></li> 58 <li><a href="trash-info.html">trash-info</a></li>
56 <li><a href="empty-trash.html">empty-trash</a></li> 59 <li><a href="empty-trash.html">empty-trash</a></li>
60 <li><a href="add-tag.html">add-tag</a></li>
61 <li><a href="remove-tag.html">remove-tag</a></li>
62 <li><a href="set-tags.html">set-tags</a></li>
63 <li><a href="list-tags.html">list-tags</a></li>
57 <li><a href="add-directory.html">add-directory</a></li> 64 <li><a href="add-directory.html">add-directory</a></li>
58 <li><a href="list-directories.html">list-directories</a></li> 65 <li><a href="list-directories.html">list-directories</a></li>
59 <li><a href="sync-check-config.html">check-config</a></li> 66 <li><a href="sync-check-config.html">check-config</a></li>
60 <li><a href="check-repositories.html">check-repositories</a></li> 67 <li><a href="check-repositories.html">check-repositories</a></li>
61 </ul> 68 </ul>
71 </div> 78 </div>
72 <p><strong><code>dav copy [-pcO] [-L &lt;lock&gt;] &lt;url1&gt; &lt;url2&gt;</code></strong></p> 79 <p><strong><code>dav copy [-pcO] [-L &lt;lock&gt;] &lt;url1&gt; &lt;url2&gt;</code></strong></p>
73 <p>Creates a duplicate of the resource identified by <em>url1</em> at the location <em>url2</em>. All resource properties are copied. Currently <em>url1</em> and <em>url2</em> must be the same host.</p> 80 <p>Creates a duplicate of the resource identified by <em>url1</em> at the location <em>url2</em>. All resource properties are copied. Currently <em>url1</em> and <em>url2</em> must be the same host.</p>
74 <p>If <em>url1</em> is a collection, all children are copied.</p> 81 <p>If <em>url1</em> is a collection, all children are copied.</p>
75 <p>If <em>url2</em> already exists, the command aborts, unless the <code>-O</code> option is specified.</p> 82 <p>If <em>url2</em> already exists, the command aborts, unless the <code>-O</code> option is specified.</p>
76 <p>The command uses a single WebDAV COPY request to duplicate the resources. You may use file name and path decryption to copy and encrypted resource. Please note that the copy will always be located at <em>url2</em>, so the top most collection name will not be disguised. See <a href="./encryption.html">encryption</a> for more details on how encryption works.</p> 83 <p>The command uses a single WebDAV COPY request to duplicate the resources. You may use file name and path decryption to copy an encrypted resource. Please note that the copy will always be located at <em>url2</em>, so the top most collection name will not be disguised. See <a href="./encryption.html">encryption</a> for more details on how encryption works.</p>
77 <p><strong><code>-p</code></strong> disable file name and path decryption for <em>url1</em></p> 84 <p><strong><code>-p</code></strong> disable file name and path decryption for <em>url1</em></p>
78 <p><strong><code>-c</code></strong> enable file name and path decryption for <em>url1</em></p> 85 <p><strong><code>-c</code></strong> enable file name and path decryption for <em>url1</em></p>
79 <p><strong><code>-O</code></strong> overwrite the destination resource</p> 86 <p><strong><code>-O</code></strong> overwrite the destination resource</p>
80 <p><strong><code>-L &lt;lock&gt;</code></strong> use a lock token. See <a href="./lock.html">dav lock</a></p> 87 <p><strong><code>-L &lt;lock&gt;</code></strong> use a lock token. See <a href="./lock.html">dav lock</a></p>
81 <p><strong>Command alias:</strong> cp</p> 88 <p><strong>Command alias:</strong> cp</p>

mercurial