2020-08-24 02:31:36 -04:00
|
|
|
Long: output-dir
|
|
|
|
Arg: <dir>
|
|
|
|
Help: Directory to save files in
|
2020-08-24 16:49:32 -04:00
|
|
|
Added: 7.73.0
|
2020-08-24 02:31:36 -04:00
|
|
|
See-also: remote-name remote-header-name
|
2020-07-13 08:15:04 -04:00
|
|
|
Category: curl
|
2020-08-24 02:31:36 -04:00
|
|
|
---
|
|
|
|
|
|
|
|
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 doesn't exist, the operation will fail
|
|
|
|
unless --create-dirs is also used.
|
|
|
|
|
|
|
|
If this option is used multiple times, the last specified directory will be
|
|
|
|
used.
|