Had to do some ISO to USB image making today. Besides being slow going, there was nothing that indicated how much time I had left to get a coffee.
Without further adieu:
(pv -n ./startfile.iso | dd of=/output.file) 2>&1 | dialog –gauge “Running dd please wait…” 10 70 0
That will produce something like this:
You’ll want to change the input file in PV and output file of dd before running it. Be sure to get it right, because, well, if you do it wrong, you could lose data, etc.
Something like:
dd if=/dev/zero bs=1M count=1000 | pv -s 1G | dd of=/tmp/1G
Would produce a similar curses type gauge, with speed reported too.
Excellent, thanks for that!