add documentation for rename command

Thu, 12 Dec 2019 20:58:30 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 12 Dec 2019 20:58:30 +0100
changeset 695
7877dae0d8fe
parent 694
60edf3d679fd
child 696
ec1509240080

add documentation for rename command

docs/src/rename.md file | annotate | diff | comparison | revisions
--- a/docs/src/rename.md	Fri Dec 06 09:47:19 2019 +0100
+++ b/docs/src/rename.md	Thu Dec 12 20:58:30 2019 +0100
@@ -0,0 +1,19 @@
+---
+title: 'dav rename'
+---
+
+**`rename [-pcO] [-L <lock>] <url> <name>`**
+
+Changes the name of a resource to *name*.
+
+In case of unencrypted resources, this will do a MOVE-Request. On encrypted resources, this command will do a PROPPATCH-Request, changing the *crypto-name* property.
+
+**`-p`** disable file name and path decryption for *url*
+
+**`-c`** enable file name and path decryption for *url*
+
+**`-O`** overwrite the destination resource
+
+**`-L <lock>`** use a lock token. See [dav lock][1]
+
+[1]: ./lock.html

mercurial