output-dir.d 606 B

12345678910111213141516171819
  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. The given output directory is used for all URLs and output options on the
  15. command line, up until the first --next.
  16. If the specified target directory does not exist, the operation fails unless
  17. --create-dirs is also used.