Thu, 21 Dec 2017 19:48:27 +0100
davql: allow ANYWHERE keyword in SELECT statements
This may seem pointless, but users might want to be explicit about this and the grammar is more consistent.
This commit also adds some no-ops to the functions body of the SET parser, because some day the grammar might allow more clauses after the WHERE clause.
283
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
282
diff
changeset
|
1 | --- |
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
282
diff
changeset
|
2 | title: 'dav move' |
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
282
diff
changeset
|
3 | --- |
266
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
4 | |
285
02d3e4b1245f
adds some small fixes for 1.0 release
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
283
diff
changeset
|
5 | **`dav move [-pcO] [-L <lock>] <url> <url>`** |
266
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
6 | |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
7 | 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
|
8 | |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
9 | 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
|
10 | |
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
11 | 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
|
12 | 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
|
13 | 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
|
14 | See [encryption][2] for more details on how encryption works. |
266
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
15 | |
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
16 | **`-p`** disable file name and path decryption for *url1* |
266
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
17 | |
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
18 | **`-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
|
19 | |
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
20 | **`-O`** overwrite the destination resource |
266
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
21 | |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
22 | **`-L <lock>`** use a lock token. See [dav lock][1] |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
23 | |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
24 | [1]: ./lock.html |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
25 | |
8c44c5919691
more documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
265
diff
changeset
|
26 | **Command alias:** mv |