Last active
January 17, 2022 17:32
-
-
Save TravisMullen/45733475b7da01b5d9d8a2c1c1e49cb0 to your computer and use it in GitHub Desktop.
Secure Erase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "empty ~/.Trash" | |
rm -rf ~/.Trash/* | |
echo "Secure Erase Freespace /dev/disk1" | |
diskutil secureErase freespace 2 /dev/disk1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment