docs/src/set-property.md

Fri, 04 Aug 2017 20:03:21 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 04 Aug 2017 20:03:21 +0200
changeset 274
5577d3eae04c
parent 265
ee9e63c437c4
child 282
3070d72f54af
permissions
-rw-r--r--

dav-sync command documentation complete

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