output-dir.d 590 B

1234567891011121314151617181920
  1. Long: output-dir
  2. Arg: <dir>
  3. Help: Directory to save files in
  4. Added: 7.73.0
  5. See-also: remote-name remote-header-name
  6. Category: curl
  7. Example: --output-dir "tmp" -O $URL
  8. ---
  9. This option specifies the directory in which files should be stored, when
  10. --remote-name or --output are used.
  11. The given output directory is used for all URLs and output options on the
  12. command line, up until the first --next.
  13. If the specified target directory doesn't exist, the operation will fail
  14. unless --create-dirs is also used.
  15. If this option is used multiple times, the last specified directory will be
  16. used.