7 Sep
2020
7 Sep
'20
21:24
On Tuesday 08 September 2020, Carlos E. R. wrote:
Hi,
I have this line to image a disk partition and compress it:
dd if=/dev/nvme0n1p2 status=progress bs=16M | pigz > nvme0n1p2.gz
How could I insert in the pipe the md5 calculation of the non-compressed stream, stored to a file? Is it possible?
Perhaps you could use a named pipe? mkfifo mdpipe dd if=/dev/nvme0n1p2 status=progress bs=16M | tee mdpipe | pigz > nvme0n1p2.gz & md5sum mdpipe Michael -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org