Skip to content

Instantly share code, notes, and snippets.

@johnnyclem
Created September 8, 2015 20:51
Show Gist options
  • Save johnnyclem/e25e9ed6d808e734f625 to your computer and use it in GitHub Desktop.
Save johnnyclem/e25e9ed6d808e734f625 to your computer and use it in GitHub Desktop.
(pv -n $INPUT_DISK_IMAGE | dd of=/dev/$OUTPUT_DISK_ID bs=2m conv=notrunc,noerror) 2>&1 | dialog --gauge "Running dd command (cloning), please wait..." 10 70 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment