[ninux-dev] Progress bar per dd

Alessandro Gubitosi gubi.ale at gotanotherway.com
Wed Oct 29 23:42:38 CET 2014


Ciao a tutti,
ho appena scoperto il comando pv che consente di visualizzare una
semplice progress bar sul terminale.
Basta installare il pacchetto pv <http://linux.die.net/man/1/pv> e poi
dare pv [options] file | command.
Questo è molto utile ad esempio per dd.

Ad esempio il comando pv -ptearb file.img | sudo dd of=/dev/sdX
bs=1visualizzerà:

     139MB 0:08:32 [ 320kB/s] [ 278kB/s]
    [===========================>                                                     
    ] 19% ETA 0:34:43


Fico no?
Gubi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.ninux.org/pipermail/ninux-dev/attachments/20141029/940a0e00/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://ml.ninux.org/pipermail/ninux-dev/attachments/20141029/940a0e00/attachment-0001.sig>


More information about the ninux-dev mailing list