docs/src/mkdir.md

Sat, 28 Mar 2020 16:04:46 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 28 Mar 2020 16:04:46 +0100
branch
feature/dav-edit
changeset 711
8d40b5ccc43e
parent 285
02d3e4b1245f
permissions
-rw-r--r--

adds check for encryption key (otherwise segfault when trying to create a fresh encrypted file without a key)

---
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