|
1 --- |
|
2 title: 'dav rename' |
|
3 --- |
|
4 |
|
5 **`rename [-pcO] [-L <lock>] <url> <name>`** |
|
6 |
|
7 Changes the name of a resource to *name*. |
|
8 |
|
9 In case of unencrypted resources, this will do a MOVE-Request. On encrypted resources, this command will do a PROPPATCH-Request, changing the *crypto-name* property. |
|
10 |
|
11 **`-p`** disable file name and path decryption for *url* |
|
12 |
|
13 **`-c`** enable file name and path decryption for *url* |
|
14 |
|
15 **`-O`** overwrite the destination resource |
|
16 |
|
17 **`-L <lock>`** use a lock token. See [dav lock][1] |
|
18 |
|
19 [1]: ./lock.html |