bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] [PATCH] Implement --keep-badhash to keep Metalink's files wit


From: Matthew White
Subject: [Bug-wget] [PATCH] Implement --keep-badhash to keep Metalink's files with a bad hash
Date: Sat, 30 Jul 2016 21:41:48 +0200

Hello!

I think that sometimes it could help to keep downloaded Metalink's files which 
have a bad hash.

The default wget behaviour is to delete such files.

This patch provides a way to keep files which have a bad hash through the 
option --keep-badhash. It appends the suffix .badhash to the file name, except 
without overwriting existing files. In the latter case, an unique suffix is 
appended after .badhash.

I made this patch working on the following branch:
master (latest 20cac2c5ab3d63aacfba35fb10878a2d490e2377)
git://git.savannah.gnu.org/wget.git

What do you think?

-- 
Matthew White <address@hidden>

Attachment: Implement-keep-badhash-to-keep-Metalink-s-files-with.patch
Description: Text Data


reply via email to

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