refines copy.md

Sat, 05 Aug 2017 10:57:47 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 05 Aug 2017 10:57:47 +0200
changeset 279
f0f24da5f920
parent 278
c9096eb3554c
child 280
6d8784bee427

refines copy.md

docs/html/commands.html file | annotate | diff | comparison | revisions
docs/html/copy.html file | annotate | diff | comparison | revisions
docs/src/commands.md file | annotate | diff | comparison | revisions
docs/src/copy.md file | annotate | diff | comparison | revisions
--- a/docs/html/commands.html	Sat Aug 05 10:19:53 2017 +0200
+++ b/docs/html/commands.html	Sat Aug 05 10:57:47 2017 +0200
@@ -87,7 +87,7 @@
 <p><strong><code>-v</code></strong> enable verbose output. Internally <code>CURLOPT_VERBOSE</code> is set to 1 and verbose output is printed to stderr.</p>
 <p>Most commands have the <strong><code>-c</code></strong> and <strong><code>-p</code></strong> options for enabling or disabling encryption. If encryption is not configured for a repository, but the <strong><code>-c</code></strong> option is specified, encryption/decryption is enabled. When enabled, all commands handle encrypted resource names. The <strong><code>-p</code></strong> options disables any encryption/decryption. See <a href="./encryption.html">encryption</a> for details.</p>
 <h2 id="aliases">Aliases</h2>
-<p>Some commands have alternate names. For example <code>dav ls</code> is and alias for <code>dav list</code>. The available aliases can be found in the documentation for the respective commands.</p>
+<p>Some commands have alternate names. For example <code>dav ls</code> is an alias for <code>dav list</code>. The available aliases can be found in the documentation for the respective commands.</p>
 </div>
 <!-- end content -->
 </body>
--- a/docs/html/copy.html	Sat Aug 05 10:19:53 2017 +0200
+++ b/docs/html/copy.html	Sat Aug 05 10:57:47 2017 +0200
@@ -69,9 +69,9 @@
 <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>
 <p>If <em>url1</em> is a collection, all children are copied.</p>
 <p>If <em>url2</em> already exists, the command aborts, unless the <code>-O</code> option is specified.</p>
-<p>The command uses a single WebDAV COPY request to duplicate the resources. It does not handle the dav encryption functionality, which means it does not modify <em>url2</em> if encryption is enabled.</p>
-<p><strong><code>-p</code></strong> disable file name and path decryption if enabled. This applies only to <em>url1</em></p>
-<p><strong><code>-c</code></strong> enable file name and path decryption This applies only to <em>url1</em></p>
+<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>
+<p><strong><code>-p</code></strong> disable file name and path decryption for <em>url1</em></p>
+<p><strong><code>-c</code></strong> enable file name and path decryption for <em>url1</em></p>
 <p><strong><code>-O</code></strong> override the destination resource</p>
 <p><strong><code>-L &lt;lock&gt;</code></strong> use a lock token. See <a href="./lock.html">dav lock</a></p>
 <p><strong>Command alias:</strong> cp</p>
--- a/docs/src/commands.md	Sat Aug 05 10:19:53 2017 +0200
+++ b/docs/src/commands.md	Sat Aug 05 10:57:47 2017 +0200
@@ -52,6 +52,6 @@
 Aliases
 -------
 
-Some commands have alternate names. For example `dav ls` is and alias for `dav list`.
+Some commands have alternate names. For example `dav ls` is an alias for `dav list`.
 The available aliases can be found in the documentation for the respective commands.
 
--- a/docs/src/copy.md	Sat Aug 05 10:19:53 2017 +0200
+++ b/docs/src/copy.md	Sat Aug 05 10:57:47 2017 +0200
@@ -9,16 +9,20 @@
 
 If *url2* already exists, the command aborts, unless the `-O` option is specified.
 
-The command uses a single WebDAV COPY request to duplicate the resources. It does not handle the dav encryption functionality, which means it does not modify *url2* if encryption is enabled.
+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 *url2*, so the top most collection name will not be disguised.
+See [encryption][2] for more details on how encryption works.
 
-**`-p`** disable file name and path decryption if enabled. This applies only to *url1*
+**`-p`** disable file name and path decryption for *url1*
 
-**`-c`** enable file name and path decryption This applies only to *url1*
+**`-c`** enable file name and path decryption for *url1*
 
 **`-O`** override the destination resource
 
 **`-L <lock>`** use a lock token. See [dav lock][1]
 
 [1]: ./lock.html
+[2]: ./encryption.html
 
 **Command alias:** cp

mercurial