skip-existing.md (650B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: skip-existing 5 Help: Skip download if local file already exists 6 Category: curl output 7 Added: 8.10.0 8 Multi: boolean 9 See-also: 10 - output 11 - remote-name 12 - no-clobber 13 Example: 14 - --skip-existing --output local/dir/file $URL 15 --- 16 17 # `--skip-existing` 18 19 If there is a local file present when a download is requested, the operation 20 is skipped. Note that curl cannot know if the local file was previously 21 downloaded fine, or if it is incomplete etc, it just knows if there is a 22 filename present in the file system or not and it skips the transfer if it is.