docs/src/get-property.md

Sun, 24 Sep 2017 11:31:01 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 24 Sep 2017 11:31:01 +0200
changeset 316
9d0505d80044
parent 285
02d3e4b1245f
child 320
12ed560c926c
permissions
-rw-r--r--

adds dav-sync lock timeout config element

---
title: 'dav get-property'
---

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