284:8e7ef0675946 | 285:02d3e4b1245f |
---|---|
1 --- | 1 --- |
2 title: 'dav lock' | 2 title: 'dav lock' |
3 --- | 3 --- |
4 | 4 |
5 **`lock [-pc] <url>`** | 5 **`dav lock [-pc] <url>`** |
6 | 6 |
7 Creates a lock on the resource specified by the *url*. The lock is an exclusive write lock with infinite depth. | 7 Creates a lock on the resource specified by the *url*. The lock is an exclusive write lock with infinite depth. |
8 | 8 |
9 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 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. |
10 | 10 |