Show progress of dd
Here is a perl code example which shows progress of dd made by my friend Thor Dreier:
sdd if=/boot.img.gz of=/dev/sda -pg bs=1M 2>&1 | perl -e 'print $i++." MB\n" while(read(STDIN,$c,3));'
Here is a perl code example which shows progress of dd made by my friend Thor Dreier:
sdd if=/boot.img.gz of=/dev/sda -pg bs=1M 2>&1 | perl -e 'print $i++." MB\n" while(read(STDIN,$c,3));'