docs/src/set-property.md

Sun, 06 Aug 2017 14:41:20 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 06 Aug 2017 14:41:20 +0200
changeset 283
0e36bb75a732
parent 282
3070d72f54af
child 285
02d3e4b1245f
permissions
-rw-r--r--

adds dav-sync introduction and sync.xml documentation

---
title: 'dav set-property'
---

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

Sets a resource property to the 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