1 Long: output-dir
2 Arg: <dir>
3 Help: Directory to save files in
4 Added: 7.73.0
5 See-also: remote-name remote-header-name
6 Category: curl
7 ---
8 
9 This option specifies the directory in which files should be stored, when
10 --remote-name or --output are used.
11 
12 The given output directory is used for all URLs and output options on the
13 command line, up until the first --next.
14 
15 If the specified target directory doesn't exist, the operation will fail
16 unless --create-dirs is also used.
17 
18 If this option is used multiple times, the last specified directory will be
19 used.
20