master-server/deps/curl/docs/cmdline-opts/remote-time.md

22 lines
475 B
Markdown
Raw Normal View History

2024-05-15 15:20:32 -04:00
---
2023-12-11 20:30:44 -05:00
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: remote-time
Short: R
2024-05-15 15:20:32 -04:00
Help: Set remote file's time on local output
2023-12-11 20:30:44 -05:00
Category: output
Added: 7.9
Multi: boolean
2024-05-15 15:20:32 -04:00
See-also:
- remote-name
- time-cond
Example:
- --remote-time -o foo $URL
2023-12-11 20:30:44 -05:00
---
2024-05-15 15:20:32 -04:00
# `--remote-time`
2023-12-11 20:30:44 -05:00
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.