Sat, 05 Aug 2017 13:35:27 +0200
more minor improvements to the documentation
266
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
1 | dav move |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
2 | ======== |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
3 | |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
4 | **`move [-pcO] [-L <lock>] <url> <url>`** |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
5 | |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
6 | Moves the resource identified by *url1* to the location *url2*. Currently *url1* and *url2* must be on the same host. |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
7 | |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
8 | If *url2* already exists, the command aborts, unless the `-O` option is specified. |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
9 | |
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
10 | The command uses a single WebDAV MOVE request to move the resources. |
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
11 | You may use file name and path decryption to copy and encrypted resource. |
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
12 | Please note that the target location will be exactly *url2*, so the top most collection name will not be disguised. |
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
13 | See [encryption][2] for more details on how encryption works. |
266
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
14 | |
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
15 | **`-p`** disable file name and path decryption for *url1* |
266
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
16 | |
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
17 | **`-c`** enable file name and path decryption for *url1* |
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
18 | |
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
19 | **`-O`** overwrite the destination resource |
266
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
20 | |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
21 | **`-L <lock>`** use a lock token. See [dav lock][1] |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
22 | |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
23 | [1]: ./lock.html |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
24 | |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
25 | **Command alias:** mv |