wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wget2 | wget2 with --no-clobber truncates exists files (#606)


From: Marco Marsala (@marcomarsala)
Subject: wget2 | wget2 with --no-clobber truncates exists files (#606)
Date: Wed, 29 Jun 2022 05:38:33 +0000


Marco Marsala created an issue: https://gitlab.com/gnuwget/wget2/-/issues/606



Consider this working example:

# wget2 --no-clobber "running-gnu-parallel-while-files-exist" -O
"/root/stackoverflow.html" --base
"https://stackoverflow.com/questions/19571996/";

[0] Downloading
'https://stackoverflow.com/questions/19571996/running-gnu-parallel-while-files-exist'
...
File '/root/stackoverflow.html' already there; not retrieving.
HTTP response 200 OK
[https://stackoverflow.com/questions/19571996/running-gnu-parallel-while-files-exist]

if /root/stackoverflow.html already exists, it gets truncated.

It doesn't happen with wget 1.

My wget version is 2.0.0:

# wget2 --version
GNU Wget2 2.0.0 - multithreaded metalink/file/website downloader

+digest +https +ssl/gnutls +ipv6 +iri +large-file +nls -ntlm -opie -psl
-hsts
+iconv +idn +zlib -lzma -brotlidec -zstd -bzip2 -lzip -http2 -gpgme

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/issues/606
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]