docs/src/set-property.md

Sat, 05 Aug 2017 10:19:53 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 05 Aug 2017 10:19:53 +0200
changeset 278
c9096eb3554c
parent 265
ee9e63c437c4
child 282
3070d72f54af
permissions
-rw-r--r--

refines commands.md

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