2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2018-05-28 20:16:27 +08:00
|
|
|
Long: remote-time
|
|
|
|
Short: R
|
2016-11-28 07:50:25 +08:00
|
|
|
Help: Set the remote file's time on the local output
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: output
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --remote-time -o foo $URL
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.9
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: remote-name time-cond
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2016-11-28 07:50:25 +08:00
|
|
|
---
|
|
|
|
When used, this will make curl attempt to figure out the timestamp of the
|
|
|
|
remote file, and if that is available make the local file get that same
|
|
|
|
timestamp.
|