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 |