Skip to content

Instantly share code, notes, and snippets.

View savager's full-sized avatar

Russ Savage savager

  • Chicago, IL
  • 08:33 (UTC -05:00)
View GitHub Profile
### Keybase proof
I hereby claim:
* I am savager on github.
* I am russsavage (https://keybase.io/russsavage) on keybase.
* I have a public key ASCuN50kwOs4xxqBL-u5RZXChvF_4AtcIy6XorLB3vKbfwo
To claim this, I am signing this object:
# mac bit for bit copy of usb drive from one to another with progress
#find disk numbers
diskutil list
# unmount both disks first
diskutil unmountDisk /dev/disk4
diskutil unmountDisk /dev/disk7
# then copy
sudo dd if=/dev/rdisk4 of=/dev/rdisk7 bs=1m & pid=$!