draconisplusplus/subprojects/curl-8.10.1/docs/cmdline-opts/skip-existing.md

650 B

c SPDX-License-Identifier Long Help Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl skip-existing Skip download if local file already exists curl output 8.10.0 boolean
output
remote-name
no-clobber
--skip-existing --output local/dir/file $URL

--skip-existing

If there is a local file present when a download is requested, the operation is skipped. Note that curl cannot know if the local file was previously downloaded fine, or if it is incomplete etc, it just knows if there is a filename present in the file system or not and it skips the transfer if it is.