docs/src/mkdir.md

Wed, 24 Jul 2024 23:45:31 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 24 Jul 2024 23:45:31 +0200
changeset 826
b6e9fd3f1951
parent 285
02d3e4b1245f
permissions
-rw-r--r--

fix dav add-repo crash in case .dav/config.xml doesn't exist

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