Browsed by
Tag: kill

[Bash] How to show information about dd progress / statistics

[Bash] How to show information about dd progress / statistics

dd is a great tool for low-level copying and conversion of raw data. It can be also used for data erasure. Unfortunately, it doesn’t show any information about progress of copying. Here is my little, but useful script: 1 2 3 4 5 6 7 8 9 10 #!/bin/bash # dd.sh Author: Wojtek Jamrozy (www.wojtekrj.net)   dd $* & pid=$! sleep 10   while [ -e "/proc/$pid" ] ; do kill -USR1 $pid sleep 10 done#!/bin/bash # dd.sh Author: Wojtek…

Read More Read More