docs/src/unlock.md

changeset 265
ee9e63c437c4
child 282
3070d72f54af
equal deleted inserted replaced
264:94c0a938b66c 265:ee9e63c437c4
1 dav unlock
2 ==========
3
4 **`unlock [-pc] [-L <lock>] <url>`**
5
6 Unlocks the specified url with a lock token. If no lock token is specified with the `-L` option, it read from stdin.
7
8 **`-p`** disable file name and path decryption if enabled
9
10 **`-c`** enable file name and path decryption
11
12 **`-L <lock>`** use a lock token
13
14 ### Example 1: unlock with lock token from stdin
15
16 $ dav lock myserv/resource > locktoken
17 $ dav unlock myserv/resource < locktoken
18
19 ### Example 2: unlock with lock token from command line argument
20
21 $ dav lock myserv/resource
22 opaquelocktoken:0454905e-f2ff-45c4-a3d7-5c4e4db5ce37
23 $ dav unlock -L opaquelocktoken:0454905e-f2ff-45c4-a3d7-5c4e4db5ce37 myserv/resource
24
25

mercurial