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
branch
v1.1
changeset 343
b9c6e0be5774
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