Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know I can use Disk Utility to secure erase a disk.

My question is: I have a disk half empty. I would like to know if there's a way to secure erase the empty part of the disk. I mean, an app/command that can identify those empty sectors of the disk and give them a secure erase treatment.


share|improve this question
up vote 2 down vote accepted

If you are referring to a partition, then you can also do it with Disk Utility: First, select the partition on the list on the left, go to the "Erase" tab on the right and use "Erase Free Space ...". On the dialog that shows now you can choose the level of security (i.e., how many times the data should be overwritten) and then click "Erase Free Space".

If you are talking about space on a disk with no active partition then I think you need to create a partition first that you can then erase.

share|improve this answer
Can also be done from the terminal via diskutil secureErase freespace level device. See man diskutil for what the parameters mean. - Unformatted disks can be overwritten with random data with diskutil randomDisk [times] device or zeroes with diskutil zeroDisk device or just use good old dd. – MacLemon Sep 29 '12 at 18:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.