time-cond.d 871 B

12345678910111213141516171819202122
  1. Long: time-cond
  2. Short: z
  3. Arg: <time>
  4. Help: Transfer based on a time condition
  5. Protocols: HTTP FTP
  6. Category: http ftp
  7. Example: -z "Wed 01 Sep 2021 12:18:00" $URL
  8. Example: -z "-Wed 01 Sep 2021 12:18:00" $URL
  9. Example: -z file $URL
  10. Added: 5.8
  11. ---
  12. Request a file that has been modified later than the given time and date, or
  13. one that has been modified before that time. The <date expression> can be all
  14. sorts of date strings or if it does not match any internal ones, it is taken as
  15. a filename and tries to get the modification date (mtime) from <file>
  16. instead. See the *curl_getdate(3)* man pages for date expression details.
  17. Start the date expression with a dash (-) to make it request for a document
  18. that is older than the given date/time, default is a document that is newer
  19. than the specified date/time.
  20. If this option is used several times, the last one will be used.