UNIXworkcode

1 --- 2 title: 'dav set-property' 3 --- 4 5 **`dav set-property [-pc] [-L <lock>] [-n <uri>] <url> <property> [value]`** 6 7 Sets a resource property to the specified value. 8 9 *property* is a property name with or without prefix (see [get-property][1] for details). 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 13 [1]: ./get-property.html 14 15 If no value is specified, the content for the property is read from stdin. 16 17 **`-p`** disable file name and path decryption if enabled 18 19 **`-c`** enable file name and path decryption 20 21 **`-x`** store an xml value 22 23 **`-L <lock>`** use a lock token. See [dav lock][1] 24 25 **`-n <uri>`** specify property namespace 26 27 **Note:** Properties are never encrypted. 28 29 30