1 dav unlock |
1 dav unlock |
2 ========== |
2 ========== |
3 |
3 |
4 **`unlock [-pc] [-L <lock>] <url>`** |
4 **`unlock [-pc] [-L <lock>] <url>`** |
5 |
5 |
6 Unlocks the specified url with a lock token. If no lock token is specified with the `-L` option, it read from stdin. |
6 Unlocks the specified *url* with a lock token. If no lock token is specified with the `-L` option, it read from stdin. |
7 |
7 |
8 **`-p`** disable file name and path decryption if enabled |
8 **`-p`** disable file name and path decryption if enabled |
9 |
9 |
10 **`-c`** enable file name and path decryption |
10 **`-c`** enable file name and path decryption |
11 |
11 |
12 **`-L <lock>`** use a lock token |
12 **`-L <lock>`** use the specified lock token |
13 |
13 |
14 ### Example 1: unlock with lock token from stdin |
14 ### Example 1: unlock with lock token from stdin |
15 |
15 |
16 $ dav lock myserv/resource > locktoken |
16 $ dav lock myserv/resource > locktoken |
17 $ dav unlock myserv/resource < locktoken |
17 $ dav unlock myserv/resource < locktoken |