Quote:
Originally Posted by Woodsman
The tee command. Sounds useful!
The basic command seems to succeed without the -f option --- I could find no -f option in the tee man page and I received an error message with -f.
Seems to work but is the md5sum output that of infile or outputfile? The md5sum output is from /dev/fd/63.
|
In that command it would be the md5sum of the stdout output of the tee, which should be the same as the stdout of the dd. though without the conv=sync it should be identical to the input.
And yes, you're quite right, It appears I made the -f up. Been a while since I've used tee. Sorry 'bout that.
edit: oh, and the <( ) shell syntax generates a fifo/named pipe, which explains the wierd /dev/fd name. You'll need to code your script to replace that with the name of the output file on the tee if you store the output of the md5sum for later use.