xref: /curl/docs/cmdline-opts/remote-time.md (revision fe9f68fa)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: remote-time
5Short: R
6Help: Set remote file's time on local output
7Category: output
8Added: 7.9
9Multi: boolean
10See-also:
11  - remote-name
12  - time-cond
13Example:
14  - --remote-time -o foo $URL
15---
16
17# `--remote-time`
18
19Makes curl attempt to figure out the timestamp of the remote file that is
20getting downloaded, and if that is available make the local file get that same
21timestamp.
22