Program to walk the directory tree (from a nominated starting point) and securely delete every file it finds, and remove directories.
The purpose of this is to remove files and/or directories in a way that they cannot be later recovered by someone armed with a delete-recovery or disk editing program.
You might, for example, use it to delete files when:
The program does this by:
On the command line, specify the file or directory you want to delete. You cannot use wildcards. You either delete a single file, or a single directory.
This program was designed to help protect your old unwanted files from being viewed by other people. However if your files are highly confidential there are other steps it would be prudent to take, for example, encrypting them when you are not actually using them.
You should also consider taking steps to overwrite any old data that might be lying around on the hard disk from when files were deleted using an insecure method. To address this the companion program DeleteUnused has been written, which overwrites all unused sectors with random patterns.
In addition, make sure that "backup" files (eg. files ending in .BAK, and possibly other extensions) do not contain earlier versions of sensitive data.
The author does not accept responsibility for any files you may accidentally delete with this program. Use it with care.
This program does not pretend to solve all of your security problems on your PC. You are recommended to read some of the very good books on computer security and encryption to further your understanding of those issues.
To download, click on the "downloads" button at the top of this page.
This program is supplied free of charge. It is copyright 1998 by Nick Gammon. Source code is available from the downloads area.
Comments to Gammon Software support
Page updated on Wednesday, 15 December 2004