diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-28 01:01:13 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-28 09:53:15 +0100 |
commit | a387d881ecf1cfe8def1460fdf2faa3fdef66302 (patch) | |
tree | 58148de3354cb8522e90e42a95e6243a7543c8e9 /docs/cmdline-opts/time-cond.d | |
parent | ac85f332f13f2e105e69d5f4b97c1787a824f637 (diff) | |
download | curl-a387d881ecf1cfe8def1460fdf2faa3fdef66302.tar.gz |
cmdline-docs: more options converted and fixed
Now all options are in the new system.
Diffstat (limited to 'docs/cmdline-opts/time-cond.d')
-rw-r--r-- | docs/cmdline-opts/time-cond.d | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/cmdline-opts/time-cond.d b/docs/cmdline-opts/time-cond.d new file mode 100644 index 000000000..830b4e1a2 --- /dev/null +++ b/docs/cmdline-opts/time-cond.d @@ -0,0 +1,17 @@ +Long: time-cond +Short: z +Arg: <time> +Help: Transfer based on a time condition +Protocols: HTTP FTP +--- +Request a file that has been modified later than the given time and date, or +one that has been modified before that time. The <date expression> can be all +sorts of date strings or if it doesn't match any internal ones, it is taken as +a filename and tries to get the modification date (mtime) from <file> +instead. See the \fIcurl_getdate(3)\fP man pages for date expression details. + +Start the date expression with a dash (-) to make it request for a document +that is older than the given date/time, default is a document that is newer +than the specified date/time. + +If this option is used several times, the last one will be used. |