docs/src/mkdir.md

Sat, 20 Apr 2024 12:43:44 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 20 Apr 2024 12:43:44 +0200
changeset 813
06cf17795b86
parent 285
02d3e4b1245f
permissions
-rw-r--r--

improve xattr code

- check allocation return value
- xattr_get returns null terminated strings

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