OS X® clean SSD

1970 + 1457038624

Remove all Partitions:

diskutil list
diskutil eraseVolume free freespace /dev/diskXs1
sudo dd if=/dev/zero of=/dev/diskX bs=4096 count=8

or:

sudo diskutil zeroDisk /dev/diskX -force

Prevent the system to sleep for some hours:

caffeinate -i -d -m -s

Option -i prevents idle sleeping, -d stand for display, -m for disks, -s for system.

More posts