docs/src/set-property.md

changeset 408
f71eab18ed38
parent 285
02d3e4b1245f
equal deleted inserted replaced
407:9505224d2fd2 408:f71eab18ed38
6 6
7 Sets a resource property to the specified value. 7 Sets a resource property to the specified value.
8 8
9 *property* is a property name with or without prefix (see [get-property][1] for details). 9 *property* is a property name with or without prefix (see [get-property][1] for details).
10 10
11 To store an xml value, use the **`-x`** option. The specified value must be a valid xml document. All nodes below the root element are stored as the property value.
12
11 [1]: ./get-property.html 13 [1]: ./get-property.html
12 14
13 If no value is specified, the content for the property is read from stdin. 15 If no value is specified, the content for the property is read from stdin.
14 16
15 **`-p`** disable file name and path decryption if enabled 17 **`-p`** disable file name and path decryption if enabled
16 18
17 **`-c`** enable file name and path decryption 19 **`-c`** enable file name and path decryption
18 20
21 **`-x`** store an xml value
22
19 **`-L <lock>`** use a lock token. See [dav lock][1] 23 **`-L <lock>`** use a lock token. See [dav lock][1]
20 24
21 **`-n <uri>`** specify property namespace 25 **`-n <uri>`** specify property namespace
22 26
23 **Note:** Properties are never encrypted. 27 **Note:** Properties are never encrypted.

mercurial