curl-w32/docs/cmdline-opts/remote-time.md

483 B

c SPDX-License-Identifier Long Short Help Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl remote-time R Set the remote file's time on the local output output 7.9 boolean
remote-name
time-cond
--remote-time -o foo $URL

--remote-time

Makes curl attempt to figure out the timestamp of the remote file that is getting downloaded, and if that is available make the local file get that same timestamp.