docs/src/set-property.md

Sat, 12 May 2018 15:03:11 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 12 May 2018 15:03:11 +0200
changeset 375
39fd327f81da
parent 285
02d3e4b1245f
child 408
f71eab18ed38
permissions
-rw-r--r--

fixes options parser to correctly report missing arguments

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

**`dav 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