Secure deletion of files in a directory

David Shaw dshaw at
Tue Jun 15 17:39:25 CEST 2004

On Tue, Jun 15, 2004 at 04:56:05PM +0200, Albert wrote:
> I have to return a new hard drive in warranty and to delete a lot of 
> directories which contain private data. Unfortunately the data of 
> S.M.A.R.T are erased too, if I use badblocks -w to overwrite the 
> _whole_ drive.
> I know there is a possibility to shredder a file with gpg, but not a 
> directory. What do you recommend?

GnuPG does not have a file shredder.  It is not possible to write such
a thing to be portable to as many platforms at GnuPG runs on.

I'd look at "shred", but keep in mind the caveats the author gives in
the man page.


More information about the Gnupg-users mailing list