I am sitting in front of a computer running linux full of files that need to be deleted securely.
Luckily, there’s a simple solution,
So what shred does is overwrite the file n-times with something random (actually it seems to use specific patterns that decrease chance of recovery even more) before finally overwriting it with zeroes. (Due to the
This is safe as long as the filesystem is not one that does not overwrite the file where it is stored.
And many filesystems do, therefore the best solution is probably to use an encrypted filesystem. And just
rm it eventually.
Aparently on OSX there’s a special flag for
rm that prompts a secure deletion. Don’t have my laptop with me now, though, so I can’t try it out.
P.S.: You can follow me on Twitter.