[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13243: [PATCH] enhancement: modify md5sum to allow piping
From: |
Bob Proulx |
Subject: |
bug#13243: [PATCH] enhancement: modify md5sum to allow piping |
Date: |
Fri, 21 Dec 2012 12:33:20 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Eric Blake wrote:
> In your case, you can do:
>
> dd if=/dev/sda3 | pbzip2 -c2 | tee >(md5sum > /tmp/sda3.dat.bzip2.md5) |
> netcat 192.168.1.123 45678
I would also mention the GNU dd extension status=none which avoids
what is probably the unnecessary for this purpose "records in" /
"records out" status output.
dd status=none if=/dev/sda3 | ...
Bob