From f1a8fd843f0aaba9a7feaddc0f1e5a8a888f0fd8 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 22 Mar 2007 15:23:00 +0000 Subject: -z hasn't supported "yesterday" for quite some time... --- docs/MANUAL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/MANUAL b/docs/MANUAL index 5dcd2291f..dd063911d 100644 --- a/docs/MANUAL +++ b/docs/MANUAL @@ -699,9 +699,9 @@ TIME CONDITIONS curl -z -local.html http://remote.server.com/remote.html You can specify a "free text" date as condition. Tell curl to only download - the file if it was updated since yesterday: + the file if it was updated since January 12, 2012: - curl -z yesterday http://remote.server.com/remote.html + curl -z "Jan 12 2012" http://remote.server.com/remote.html Curl will then accept a wide range of date formats. You always make the date check the other way around by prepending it with a dash '-'. -- cgit v1.2.3