master-server/deps/curl/docs/cmdline-opts/output-dir.md
2024-05-15 15:20:32 -04:00

627 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

Specify 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.