--- title: 'dav mkdir' --- **`dav mkdir [-pc] [-k ] [-L ] `** 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 `** use the specified key for encryption. The key must be configured in the config.xml file **`-L `** use a lock token **Command alias:** mkcol