aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/remote-time.md
blob: b010bc1308c70d52a629c58c3fe1f41f06721fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: remote-time
Short: R
Help: Set the remote file's time on the local output
Category: output
Added: 7.9
Multi: boolean
See-also:
  - remote-name
  - time-cond
Example:
  - --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.