mirror of
https://github.com/curl/curl.git
synced 2026-05-03 02:47:52 +03:00
-z hasn't supported "yesterday" for quite some time...
This commit is contained in:
parent
8920606b8b
commit
f1a8fd843f
1 changed files with 2 additions and 2 deletions
|
|
@ -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 '-'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue