diff -r ee9e63c437c4 -r 8c44c5919691 docs/html/date.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/html/date.html Tue Jul 11 20:45:32 2017 +0200 @@ -0,0 +1,67 @@ + + + + + + + + + + + +
+ davutils documentation +
+ + + +
+

dav date

+

date [url]

+

The purpose of this command is to get the current date from a server and print it on stdout (http date format). This in useful in combination with the -U option for the list and get command.

+

The url can be any http url. If no url is specified, the local time is used.

+

Example: incremental dav get

+

It is possible to download only resources, which are modified since a specified date. The date command allows you to easily store the date of the last get.

+
$ dav get -R myserv/col/
+...
+$ dav date myserv > last_get
+

After some resources are changed on the server, you can download only the modified files.

+
$ dav get -R -U `cat last_get` myserv/col/
+
+ + +