# HG changeset patch # User Mike Becker # Date 1593942954 -7200 # Node ID d78619cc5a4d871d4f2cf07fc71a0259bc792b38 # Parent 3fc7f813b53d2811241a3e615449dd1414a658f9# Parent c401f4af44b1105287c70f9159927f8fedd2b776 merges feature/dav-edit diff -r c401f4af44b1 -r d78619cc5a4d docs/html/edit.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/html/edit.html Sun Jul 05 11:55:54 2020 +0200 @@ -0,0 +1,105 @@ + + + + + + + dav edit + + + + +
+ DavUtils documentation +
+ + + +
+ +

dav edit [-pc] [-k <key>] [-V <version>] <url>

+

Downloads a resources and opens an editor. If there is no resource at the specified location, it is attempted to create a fresh resource before opening the editor.

+

The default editor vi can be changed with the EDITOR environment variable.

+

This command transparently handles decryption and encryption. If you download and open a plain text file and request content encryption (either by config or by command line option) the file will be re-uploaded with content encryption. However, a present file will keep its (plain text) file name in any case.

+

-p disable file name encryption and decryption

+

-c enable file name and content encryption

+

-k <key> use the specified key for encryption. The key must be configured in the config.xml file

+

-V <version> downloads a specific version of the resource. Available versions can be listed with the list-versions command

+
+ + +