docs/src/mkdir.md

Tue, 12 Dec 2017 23:58:54 +0100

author
Mike Becker <universe@uap-core.de>
date
Tue, 12 Dec 2017 23:58:54 +0100
changeset 353
e554f3d72d9e
parent 285
02d3e4b1245f
permissions
-rw-r--r--

fixes infinite loop when trying to overwrite a collection with a regular file

---
title: 'dav mkdir'
---

**`dav mkdir [-pc] [-k <key>] [-L <lock>] <url>`**

Creates a collection. All intermediate collections are also created as necessary.

**`-p`** disable file name encryption and decryption

**`-c`** enable file file name and content encryption

**`-k <key>`** use the specified key for encryption. The key must be configured in
  the config.xml file

**`-L <lock>`** use a lock token

**Command alias:** mkcol

mercurial