1*6236dae4SAndroid Build Coastguard Worker--- 2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al. 3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl 4*6236dae4SAndroid Build Coastguard WorkerLong: output-dir 5*6236dae4SAndroid Build Coastguard WorkerArg: <dir> 6*6236dae4SAndroid Build Coastguard WorkerHelp: Directory to save files in 7*6236dae4SAndroid Build Coastguard WorkerAdded: 7.73.0 8*6236dae4SAndroid Build Coastguard WorkerCategory: output 9*6236dae4SAndroid Build Coastguard WorkerMulti: single 10*6236dae4SAndroid Build Coastguard WorkerSee-also: 11*6236dae4SAndroid Build Coastguard Worker - remote-name 12*6236dae4SAndroid Build Coastguard Worker - remote-header-name 13*6236dae4SAndroid Build Coastguard WorkerExample: 14*6236dae4SAndroid Build Coastguard Worker - --output-dir "tmp" -O $URL 15*6236dae4SAndroid Build Coastguard Worker--- 16*6236dae4SAndroid Build Coastguard Worker 17*6236dae4SAndroid Build Coastguard Worker# `--output-dir` 18*6236dae4SAndroid Build Coastguard Worker 19*6236dae4SAndroid Build Coastguard WorkerSpecify the directory in which files should be stored, when --remote-name or 20*6236dae4SAndroid Build Coastguard Worker--output are used. 21*6236dae4SAndroid Build Coastguard Worker 22*6236dae4SAndroid Build Coastguard WorkerThe given output directory is used for all URLs and output options on the 23*6236dae4SAndroid Build Coastguard Workercommand line, up until the first --next. 24*6236dae4SAndroid Build Coastguard Worker 25*6236dae4SAndroid Build Coastguard WorkerIf the specified target directory does not exist, the operation fails unless 26*6236dae4SAndroid Build Coastguard Worker--create-dirs is also used. 27