bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] feature proposal, "--hashes"


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] feature proposal, "--hashes"
Date: Fri, 09 Jul 2010 13:27:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hello,


I am not convinced it is desiderable to implement this feature in wget
as it can be easily done with sha1sum or md5sum (and a small script).
These tools can also read sums from files and verify them.

It is quite meaningless, I think, to print the checksum to the screen as
it can't easily be used by scripts.

What is exactly your use case?  Can it be done using a script?

Thanks,
Giuseppe



"gregry ." <address@hidden> writes:

> Hi,
>
> I recently joined the list to propose and discuss a new feature I'm 
> considering adding to wget.  Namely, a command line option to generate hashes 
> of downloaded content as downloading progresses.  This would typically be 
> used in cases where the user wants to download something, and would also like 
> to verify the integrity of what they've downloaded without requiring a manual 
> second step (and re-read of the entire file from storage).
>
> For example instead of simply:
> wget http://favorite-distro.org/current/dvd.iso
> ... the user could specify an option to also generate hashes of downloaded 
> content:
> wget --hashes md5,sha1 http://favorite-distro.org/current/dvd.iso
> ... and after the download is successful, the digests of the content would be 
> printed to the screen or log file, or both.
>
>
>       



reply via email to

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