docs/src/get-property.md

Sun, 27 May 2018 11:47:49 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 27 May 2018 11:47:49 +0200
changeset 376
222997d48ae1
parent 320
12ed560c926c
child 408
f71eab18ed38
permissions
-rw-r--r--

moving tar option from get/put to new export/import commands

dav export creates an archive from a collection
dav import uploads the content of an archive to a collection

---
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 or configure a namespace in the [config.xml][1] file.

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.

[1]: ./configuration.html

mercurial