2
0

output-dir.d 693 B

12345678910111213141516171819202122
  1. c: Copyright (C) 1998 - 2022, 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. ---
  11. This option specifies the directory in which files should be stored, when
  12. --remote-name or --output are used.
  13. The given output directory is used for all URLs and output options on the
  14. command line, up until the first --next.
  15. If the specified target directory does not exist, the operation will fail
  16. unless --create-dirs is also used.
  17. If this option is used multiple times, the last specified directory will be
  18. used.