I was looking for a comparatively fast way to securely delete a hard drive I intend to sell and I found this in a German Ubuntu wiki:
wipe -q -Q 1 -R /dev/zero -S r -r $PATH
It said that according to contemporary research this would suffice. Is that true? Because it was done in one second:
arno@arno-X55A:~$ sudo wipe -q -Q 1 -R /dev/zero -S r -r /dev/sdb
Okay to WIPE 1 special file ? (Yes/No) Yes
Renaming /dev/sdb -> /dev/u8jSynOperation finished.
0 files wiped and 1 special file ignored in 0 directories, 0 symlinks removed but not followed, 0 errors occured.
Using the standard wipe command resulted in an ETA of 2 years for my 2 tb hdd.
-Q 1
tells it to do 1 pass. Default is 4 and more passes is better ;) If you drop the-q
too it should do 34 passes (8 of those are random). – Rinzwind Apr 13 '13 at 11:49