docs/src/move.md

changeset 282
3070d72f54af
parent 266
8c44c5919691
child 283
0e36bb75a732
equal deleted inserted replaced
281:ddb5e8f2a43d 282:3070d72f54af
5 5
6 Moves the resource identified by *url1* to the location *url2*. Currently *url1* and *url2* must be on the same host. 6 Moves the resource identified by *url1* to the location *url2*. Currently *url1* and *url2* must be on the same host.
7 7
8 If *url2* already exists, the command aborts, unless the `-O` option is specified. 8 If *url2* already exists, the command aborts, unless the `-O` option is specified.
9 9
10 The command uses a single WebDAV MOVE request to move the resources. It does not handle the dav encryption functionality, which means it does not modify *url2* if encryption is enabled. 10 The command uses a single WebDAV MOVE request to move the resources.
11 You may use file name and path decryption to copy and encrypted resource.
12 Please note that the target location will be exactly *url2*, so the top most collection name will not be disguised.
13 See [encryption][2] for more details on how encryption works.
11 14
12 **`-p`** disable file name and path decryption if enabled. This applies only to *url1* 15 **`-p`** disable file name and path decryption for *url1*
13 16
14 **`-c`** enable file name and path decryption This applies only to *url1* 17 **`-c`** enable file name and path decryption for *url1*
15 18
16 **`-O`** override the destination resource 19 **`-O`** overwrite the destination resource
17 20
18 **`-L <lock>`** use a lock token. See [dav lock][1] 21 **`-L <lock>`** use a lock token. See [dav lock][1]
19 22
20 [1]: ./lock.html 23 [1]: ./lock.html
21 24

mercurial