diff -r b50ade8e7197 -r 1607450065ba docs/html/get-property.html --- a/docs/html/get-property.html Sun Jun 24 11:51:07 2018 +0200 +++ b/docs/html/get-property.html Sun Jun 24 12:18:12 2018 +0200 @@ -26,6 +26,8 @@
  • remove
  • copy
  • move
  • +
  • export
  • +
  • import
  • get-property
  • set-property
  • remove-property
  • @@ -34,6 +36,7 @@
  • info
  • date
  • add-repository
  • +
  • remove-repository
  • list-repositories
  • check-config
  • @@ -54,6 +57,10 @@
  • delete-conflicts
  • trash-info
  • empty-trash
  • +
  • add-tag
  • +
  • remove-tag
  • +
  • set-tags
  • +
  • list-tags
  • add-directory
  • list-directories
  • check-config
  • @@ -69,8 +76,10 @@ -

    dav get-property [-pc] [-n <uri>] <url> <property>

    +

    dav get-property [-pcx] [-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.

    +

    If the -x option is specified, a valid xml document containing the value is printed on stdout.

    +

    If the property contains xml data and the -x option is not specified, the value is printed on stderr in an xml-like format.

    Example: D:creationdate

    D is the prefix, creationdate is the name.

    There are only two available prefixes by default:

    @@ -82,8 +91,13 @@

    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

    +

    -x prints property as xml

    -n <uri> specify property namespace

    Note: Properties are never encrypted.

    +

    Example: xml property

    +
    $ dav get-property -x myserv/collection/ resourcetype
    +<?xml version="1.0"?>
    +<x0:resourcetype xmlns:x0="DAV:"><x0:collection /></x0:resourcetype>