1 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 2 SPDX-License-Identifier: curl 3 Long: output-dir 4 Arg: <dir> 5 Help: Directory to save files in 6 Added: 7.73.0 7 See-also: remote-name remote-header-name 8 Category: curl 9 Example: --output-dir "tmp" -O $URL 10 Multi: single 11 --- 12 This option specifies the directory in which files should be stored, when 13 --remote-name or --output are used. 14 15 The given output directory is used for all URLs and output options on the 16 command line, up until the first --next. 17 18 If the specified target directory does not exist, the operation fails unless 19 --create-dirs is also used. 20