iw7-mod/deps/curl/docs/cmdline-opts/output-dir.md
2024-08-13 05:15:34 -04:00

641 B

c SPDX-License-Identifier Long Arg Help Added Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl output-dir <dir> Directory to save files in 7.73.0 curl single
remote-name
remote-header-name
--output-dir "tmp" -O $URL

--output-dir

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 does not exist, the operation fails unless --create-dirs is also used.