diff options
Diffstat (limited to 'docs/cmdline-opts/remote-time.md')
-rw-r--r-- | docs/cmdline-opts/remote-time.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/cmdline-opts/remote-time.md b/docs/cmdline-opts/remote-time.md new file mode 100644 index 000000000..b010bc130 --- /dev/null +++ b/docs/cmdline-opts/remote-time.md @@ -0,0 +1,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. |