time-cond.d 1008 B

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