Skip to content

Instantly share code, notes, and snippets.

@carlos-wong
Created April 17, 2013 08:03
Show Gist options
  • Save carlos-wong/5402556 to your computer and use it in GitHub Desktop.
Save carlos-wong/5402556 to your computer and use it in GitHub Desktop.
bash: dd progress and set dd size if need
pv -tpreb /dev/urandom | dd of=file.img
sudo pv /dev/sdc | dd of=~/workspace/snk_5_2.img bs=1M count=1850 iflag=fullblock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment