t7x/deps/curl/docs/cmdline-opts/output-dir.d

20 lines
606 B
D
Raw Normal View History

2023-12-06 17:43:39 -05:00
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: output-dir
Arg: <dir>
Help: Directory to save files in
Added: 7.73.0
See-also: remote-name remote-header-name
Category: curl
Example: --output-dir "tmp" -O $URL
Multi: single
---
This option specifies the directory in which files should be stored, when
--remote-name or --output are used.
The given output directory is used for all URLs and output options on the
command line, up until the first --next.
If the specified target directory does not exist, the operation fails unless
--create-dirs is also used.