1 ---
2 title: 'dav mkdir'
3 ---
4
5 **`dav mkdir [-pc] [-k <key>] [-L <lock>] <url>`**
6
7 Creates a collection. All intermediate collections are also created as necessary.
8
9 **`-p`** disable file name encryption and decryption
10
11 **`-c`** enable file file name and content encryption
12
13 **`-k <key>`** use the specified key for encryption. The key must be configured in
14 the config.xml file
15
16 **`-L <lock>`** use a lock token
17
18 **Command alias:** mkcol
19