Say I copy a file with
pv
, is there any way to also get any hash, like md5
, sha1
, etc without having to read origin twice? It has to work with big files or block devices.
Example command which does not work as expected:
pv /dev/sda1 | tee md5sum > /mnt/backups/sda.backup
Asked by Smeterlink
(295 rep)
Dec 14, 2021, 12:09 PM
Last activity: Dec 14, 2021, 04:44 PM
Last activity: Dec 14, 2021, 04:44 PM