docs/src/set-property.md

Sat, 05 Aug 2017 11:08:34 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 05 Aug 2017 11:08:34 +0200
changeset 280
6d8784bee427
parent 265
ee9e63c437c4
child 282
3070d72f54af
permissions
-rw-r--r--

fixes dav_resource_new_full

dav set-property
================

**`set-property [-pc] [-L <lock>] [-n <uri>] <url> <property> [value]`**

Sets a resource property to a specified value.

property is a property name with or without prefix (see [get-property][1] for details).

[1]: ./get-property.html

If no value is specified, the content for the property is read from stdin.

**`-p`** disable file name and path decryption if enabled

**`-c`** enable file name and path decryption

**`-L <lock>`** use a lock token. See [dav lock][1]

**`-n <uri>`** specify property namespace

**Note:** Properties are never encrypted.

mercurial