5 |
5 |
6 After successful installation you can test dav with your WebDAV server. |
6 After successful installation you can test dav with your WebDAV server. |
7 |
7 |
8 dav list http://example.com/webdav/ |
8 dav list http://example.com/webdav/ |
9 |
9 |
10 This lists all child resources of the specified collection. If you are unfamiliar to WebDAV terminology this means basically listing all files in a directory, similar to the ls unix tool. Infact you can also write dav ls instead of dav list and there is also a -l option like ls has one. |
10 This lists all child resources of the specified collection. If you are unfamiliar to WebDAV terminology this means basically listing all files in a directory, similar to the ls unix tool. Actually you can also write `dav ls` instead of `dav list` and there is also an `-l` option similarly to the unix tool `ls`. |
11 |
11 |
12 ### Create a repository |
12 ### Create a repository |
13 |
13 |
14 All dav commands are expecting a url argument, but it may be a bit cumbersome to type a full url every time. But you can configure a repository in the dav configuration file ($HOME/.dav/config.xml) with the servers url, optional authentication information and other options. After that you can access a webdav server just with the repository name and an optional path. |
14 All dav commands are expecting an url argument, but it may be a bit cumbersome to type a full url every time. But you can configure a repository in the dav configuration file ($HOME/.dav/config.xml) with the servers url, optional authentication information and other options. Afterwards you can access a webdav server just with the repository name and an optional path. |
15 |
15 |
16 So when you have created a repository with the name myserv and the url http://example.com/webdav/, you can just type |
16 So when you have created a repository with the name myserv and the url http://example.com/webdav/, you can just type |
17 |
17 |
18 dav list myserv |
18 dav list myserv |
19 |
19 |