docs/src/get-property.md

Sat, 05 Aug 2017 13:35:27 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 05 Aug 2017 13:35:27 +0200
changeset 282
3070d72f54af
parent 265
ee9e63c437c4
child 283
0e36bb75a732
permissions
-rw-r--r--

more minor improvements to the documentation

dav get-property
================

**`get-property [-pc] [-n <uri>] <url> <property>`**

Gets a specific resource property. Every WebDAV property has a name and an XML namespace. A namespace can be specified with the `-n` option or with a prefixed name. The prefix and property name are separated by a **:** as usual.

Example: `D:creationdate`

`D` is the prefix, `creationdate` is the name.

There are only two available prefixes by default:

1. `D` for the `DAV:` namespace
2. `idav` for `http://davutils.org/`

To use another namespace, use the `-n` option.

If the property name has no prefix, and no namespace is specified, the default namespace `DAV:` is used.

**`-p`** disable file name and path decryption if enabled

**`-c`** enable file name and path decryption

**`-n <uri>`** specify property namespace

**Note:** Properties are never encrypted.

mercurial