Skip to content

Instantly share code, notes, and snippets.

@rdammkoehler
Created April 21, 2016 20:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdammkoehler/4a1f1d10a2b7a9998bc81beb64983b1e to your computer and use it in GitHub Desktop.
Save rdammkoehler/4a1f1d10a2b7a9998bc81beb64983b1e to your computer and use it in GitHub Desktop.
Copy an ISO to a USB stick with a progress bar (linux/mac)
# with a progress bar
dd if=/Users/rich/Downloads/kali-linux-2016.1-amd64.iso | pv | dd of=/dev/disk2 bs=1m
@smougenot
Copy link

Had to change unit :

dd if=/Users/rich/Downloads/kali-linux-2016.1-amd64.iso | pv | dd of=/dev/disk2 bs=1MB

@jasonblewis
Copy link

you can get progress with ETA if you use pv directly instead of piping into pv

pv /Users/rich/Downloads/kali-linux-2016.1-amd64.iso | dd of=/dev/disk2 bs=1MB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment