10 |
10 |
11 **`-p`** disable file name and path decryption if enabled |
11 **`-p`** disable file name and path decryption if enabled |
12 |
12 |
13 **`-c`** enable file name and path decryption |
13 **`-c`** enable file name and path decryption |
14 |
14 |
|
15 **`-T <seconds>`** specify the lock token timeout in seconds |
|
16 |
15 ### Example 1: lock resource and use the lock token |
17 ### Example 1: lock resource and use the lock token |
16 |
18 |
17 $ dav lock myserv/resource |
19 $ dav lock myserv/resource |
18 opaquelocktoken:0454905e-f2ff-45c4-a3d7-5c4e4db5ce37 |
20 opaquelocktoken:0454905e-f2ff-45c4-a3d7-5c4e4db5ce37 |
19 $ dav put -L opaquelocktoken:0454905e-f2ff-45c4-a3d7-5c4e4db5ce37 myserv/resource newfile |
21 $ dav put -L opaquelocktoken:0454905e-f2ff-45c4-a3d7-5c4e4db5ce37 myserv/resource newfile |