Erase Mac Hard Drive by Using Disk Utility Open Disk Utility, ... At command prompt, type diskutil secureErase freespace then hit Return. ... On the popup window, specify Name, Scheme, and Format. Click Security Options, then drag the slider to choose the number of passes to overwrite the erased data. More items... Dec 18, 2022