Wednesday 24 February 2016

showing progress whilst copying drive with dd


pv -tpreb /dev/sda | dd of=/dev/sdb bs=64M


The syntax is
 
pv filename
pv filename > /path/to/output
pv options filename | command1
pv options filename | command1 > output.file
pv filename | command1
command1 | pv | command2
pv -options input.file | command1 | pv -options > output.file