How to truly delete a file in Mac OS X

In order to truly delete a file or folder, you must use Mac OS X’s Secure Empty Trash command under the Finder menu. When you use this method to empty your trash, the system actually overwrites the file with gibberish data, mostly ensuring your file is unrecoverable.
If you’re concerned about security, you can set Mac OS X to always securely delete your files when you empty the trash the normal way by going to your menubar and choosing Finder>Preferences, and turning on the Empty Trash Securely item.