1.1 KiB
1.1 KiB
c | SPDX-License-Identifier | Long | Short | Arg | Help | Protocols | Category | Added | Multi | See-also | Example | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. | curl | time-cond | z | <time> | Transfer based on a time condition | HTTP FTP | http ftp | 5.8 | single |
|
|
--time-cond
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 does not match any internal ones, it is treated as a filename and curl tries to get the modification date (mtime) from that file instead. See the curl_getdate(3) 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 provided a non-existing file, curl outputs a warning about that fact and proceeds to do the transfer without a time condition.