Certified Data Erasure Safe and certified data erasure standards including HMG Infosec Standard 5, German FOFIS, DOD 5220.22-M, U.S. The syntax is going to look like this: Diskutil eraseDisk JHFS+ Empty /dev/disk5s2 Securely and permanently erase data from PC, laptop, HDD/SSD, USB flash drive, memory card, digital camera and other data storage device. Let’s say the disk I want to erase has “/dev/disk5s2” as its identifier and I’m going to use Mac OS Extended Journaled (JHFS+) as the system format type and name it “Empty”. This is the syntax we need: Diskutil eraseDisk FILESYSTEM DISKNAME DISKIDENTIFIER Then pick a name and a system format type.
#Secure erase usb flash drive mac how to
Here's how to format a flash drive on Mac. Once you have found the proper drive to erase, just copy its identifier so you can use it for the next command. If you have a new USB flash drive or an older one that isn't formatted correctly, you can reformat the flash drive for Mac. Select the files or folders you want to delete by clicking on them.
In the sample image below(as a representation, yours may vary), our USB drive is named Cruzer Drive. Normally, deleted files can still be retrieved from your computer’s free space using. A USB drive icon will appear on the desktop. Securely erasing a hard drive is very important if you want to truly make all data on the device inaccessible. This is going to list all the mounted drives on your Mac. Plug your Cruzer USB drive into the USB port.
Start off by running the following command in the command line: Diskutil list Here I'll show you how you can erase and format a disk using the command line. To do that, the only thing you need is a bit of precise syntax to make sure that you are erasing the proper disk. But some Mac users might need to erase them from the command line on Mac OS. Most users use Disk Utility to erase a disk or hard drive.