docs/src/get-property.md

Fri, 04 Aug 2017 20:03:21 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 04 Aug 2017 20:03:21 +0200
changeset 274
5577d3eae04c
parent 265
ee9e63c437c4
child 282
3070d72f54af
permissions
-rw-r--r--

dav-sync command documentation complete

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

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

Gets a specified 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. A prefix and property name are separated by an **:**

Example: `D:creationdate`

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

There are only two available prefixes:

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

To use an other 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