docs/src/lock.md

changeset 282
3070d72f54af
parent 265
ee9e63c437c4
child 283
0e36bb75a732
equal deleted inserted replaced
281:ddb5e8f2a43d 282:3070d72f54af
1 dav lock 1 dav lock
2 ======== 2 ========
3 3
4 **`lock [-pc] <url>`** 4 **`lock [-pc] <url>`**
5 5
6 Creates a lock on the resource specified by the url. The lock is an exclusive write lock with infinity depth. 6 Creates a lock on the resource specified by the *url*. The lock is an exclusive write lock with infinite depth.
7 7
8 If the resource is successfully locked, a lock token for this resource is printed on stdout. This lock token should be saved somewhere to unlock the resource eventually. 8 If the resource is successfully locked, a lock token for this resource is printed to stdout. This lock token should be saved somewhere to unlock the resource eventually.
9 9
10 **`-p`** disable file name and path decryption if enabled 10 **`-p`** disable file name and path decryption if enabled
11 11
12 **`-c`** enable file name and path decryption 12 **`-c`** enable file name and path decryption
13 13

mercurial