time-cond.d 859 B

123456789101112131415161718192021
  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. ---
  11. Request a file that has been modified later than the given time and date, or
  12. one that has been modified before that time. The <date expression> can be all
  13. sorts of date strings or if it doesn't match any internal ones, it is taken as
  14. a filename and tries to get the modification date (mtime) from <file>
  15. instead. See the *curl_getdate(3)* man pages for date expression details.
  16. Start the date expression with a dash (-) to make it request for a document
  17. that is older than the given date/time, default is a document that is newer
  18. than the specified date/time.
  19. If this option is used several times, the last one will be used.