]> git.ipfire.org Git - thirdparty/curl.git/commit
curl: add --skip-existing
authorDaniel Stenberg <daniel@haxx.se>
Sun, 4 Aug 2024 14:14:24 +0000 (16:14 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 4 Aug 2024 21:28:09 +0000 (23:28 +0200)
commit732cb15b9740521d8715ac46096dfb2f5598b857
treec3edf642fbd89081dab4d8714915059ca6e40472
parenteec908bb6eee9aa6d6ef9b635faa128b14f90451
curl: add --skip-existing

With this option, the entire download is skipped if the selected target
filename already exists when the opertion is about to begin.

Test 994, 995 and 996 verify.

Ref: #11012
Closes #13993
13 files changed:
docs/cmdline-opts/Makefile.inc
docs/cmdline-opts/skip-existing.md [new file with mode: 0644]
docs/options-in-versions
src/tool_cfgable.h
src/tool_getparam.c
src/tool_getparam.h
src/tool_listhelp.c
src/tool_operate.c
src/tool_operate.h
tests/data/Makefile.am
tests/data/test994 [new file with mode: 0644]
tests/data/test995 [new file with mode: 0644]
tests/data/test996 [new file with mode: 0644]