1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 14:35:03 -05:00
curl/docs/cmdline-opts/output-dir.d

20 lines
554 B
D
Raw Normal View History

Long: output-dir
Arg: <dir>
Help: Directory to save files in
Added: 7.73.0
See-also: remote-name remote-header-name
Category: curl
---
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.