[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SV: SV: Wish: checksumming *sum filter
From: |
Pádraig Brady |
Subject: |
Re: SV: SV: Wish: checksumming *sum filter |
Date: |
Fri, 10 May 2019 08:21:40 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 10/05/19 07:58, Ole Tange wrote:
> Fra: Pádraig Brady <address@hidden>
>
>> In the general case write access would probably be required, like with sort
>> above.
>
> Doing similar to `sort` seems like wise approach: In memory if short. On
> $TMPDIR if big.
>
> I did not know about BSD's signify. The 'ftp url | ...' is the primary use
> case I would use it for. Another would be to read an old (maybe corrupted)
> backup that I had checksums of.
Note if you didn't mind the data getting through,
and only wanted to verify after, one could check
in parallel with something like:
ftp url |
tee >(sha256sum --status -c <(echo "$chksum -") && touch chksum.ok) |
tar -xf - && rm chksum.ok
cheers,
Pádraig