Wipe and erase files completely without any traces from Unix and Mac OSX file systems


Generally, running (evtl. more options like bigger blocks (e.g. bs=131072) to run faster?):

dd if=/dev/null of=/<mountpoint>/nullfile
rm /<mountpoint>/nullfile

should do on unix-like oses (incl. Mac OSX).

(Of course remove all files first:)

rm -rf /<mountpoint>/

Mac OSX has a version of srm (secure remove) installed.
Try:

srm --help

Linuxes usually have installed shred from GNU coreutils.

Also see File wipe article at infoanarchy.org.

line
linux logo Powered by Apache
line
This site maintained by:
lukas.zimmermann@unibas.ch
My public PGP key
last updated: 2008-12-17 Valid CSS! Valid XHTML 1.0 Strict