Created
November 29, 2011 19:17
-
-
Save rriemann/1406035 to your computer and use it in GitHub Desktop.
Use pv and dd to copy an iso-file to an usb stick while showing the progress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dd if=openSUSE-12.1-DVD-x86_64.iso | pv --eta --size 4628414464 --progress --bytes --rate --wait > /dev/sdc |
In case you need sudo to write to /dev/sdc:
pv openSUSE-12.1-DVD-x86_64.iso | sudo dd of=/dev/sdc
I used dd for ages but after I read about pv I switched. 👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why not (except that maybe this didn't work 5 years ago :) )
pv openSUSE-12.1-DVD-x86_64.iso > /dev/sdc