78 <pre><code>dav put -R <url> <dir></code></pre> |
78 <pre><code>dav put -R <url> <dir></code></pre> |
79 <p>Duplicate a resource or a collection on a server:</p> |
79 <p>Duplicate a resource or a collection on a server:</p> |
80 <pre><code>dav copy <src-url> <dst-url></code></pre> |
80 <pre><code>dav copy <src-url> <dst-url></code></pre> |
81 <p>There is also a move operation similar to copy:</p> |
81 <p>There is also a move operation similar to copy:</p> |
82 <pre><code>dav move <src-url> <dst-url></code></pre> |
82 <pre><code>dav move <src-url> <dst-url></code></pre> |
83 <p>These are the most common commands. There are also more commands for webdav locking and manipulating webdav properties.</p> |
83 <p>These are the most common commands. There are also more commands, e.g. for webdav locking or manipulating webdav properties. See the left menu for a complete list.</p> |
84 <h2 id="common-options">Common options</h2> |
84 <h2 id="common-options">Common options</h2> |
85 <p><strong><code>-N</code></strong> disable any authentication prompt. If authentication is required, dav will abort.</p> |
85 <p><strong><code>-N</code></strong> disable any authentication prompt. If authentication is required, dav will abort.</p> |
86 <p><strong><code>-i</code></strong> disable TLS certificate verification</p> |
86 <p><strong><code>-i</code></strong> disable TLS certificate verification</p> |
87 <p><strong><code>-v</code></strong> enable verbose output. Internally <code>CURLOPT_VERBOSE</code> is set to 1 and verbose output is printed on stderr.</p> |
87 <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> |
88 <p>Most commands have the <strong><code>-p</code></strong> and <strong><code>-c</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> |
88 <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> |
89 <h2 id="aliases">Aliases</h2> |
89 <h2 id="aliases">Aliases</h2> |
90 <p>Some commands have alternate names. For example <code>dav ls</code> is the same as <code>dav list</code>.</p> |
90 <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> |
91 </div> |
91 </div> |
92 <!-- end content --> |
92 <!-- end content --> |
93 </body> |
93 </body> |
94 </html> |
94 </html> |