# HG changeset patch # User Olaf Wintermann # Date 1576180710 -3600 # Node ID 7877dae0d8fef58efadda0360d308c828de14912 # Parent 60edf3d679fd4946aa19e351efd9f15981a429ab add documentation for rename command diff -r 60edf3d679fd -r 7877dae0d8fe docs/src/rename.md --- 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 ] `** + +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 `** use a lock token. See [dav lock][1] + +[1]: ./lock.html