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: skip-existing 5*6236dae4SAndroid Build Coastguard WorkerHelp: Skip download if local file already exists 6*6236dae4SAndroid Build Coastguard WorkerCategory: curl output 7*6236dae4SAndroid Build Coastguard WorkerAdded: 8.10.0 8*6236dae4SAndroid Build Coastguard WorkerMulti: boolean 9*6236dae4SAndroid Build Coastguard WorkerSee-also: 10*6236dae4SAndroid Build Coastguard Worker - output 11*6236dae4SAndroid Build Coastguard Worker - remote-name 12*6236dae4SAndroid Build Coastguard Worker - no-clobber 13*6236dae4SAndroid Build Coastguard WorkerExample: 14*6236dae4SAndroid Build Coastguard Worker - --skip-existing --output local/dir/file $URL 15*6236dae4SAndroid Build Coastguard Worker--- 16*6236dae4SAndroid Build Coastguard Worker 17*6236dae4SAndroid Build Coastguard Worker# `--skip-existing` 18*6236dae4SAndroid Build Coastguard Worker 19*6236dae4SAndroid Build Coastguard WorkerIf there is a local file present when a download is requested, the operation 20*6236dae4SAndroid Build Coastguard Workeris skipped. Note that curl cannot know if the local file was previously 21*6236dae4SAndroid Build Coastguard Workerdownloaded fine, or if it is incomplete etc, it just knows if there is a 22*6236dae4SAndroid Build Coastguard Workerfilename present in the file system or not and it skips the transfer if it is. 23