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