srm

From RaySoft

srm is a secure replacement for rm. Unlike the standard rm, it overwrites the data in the target files before unlinking them. This prevents command-line recovery of the data by examining the raw block device.[1]

Documentation

Syntax

srm [PARAMETER ...] [FILE/DIRECTORY ...]

Parameters

-D, --dod
US Dod compliant 7-pass overwrite.
-E, --doe
US DoE compliant 3-pass overwrite. Twice with a random pattern, finally with the bytes DoE.
-f, --force
Ignore nonexistent files, never prompt.
-G, --gutmann
Use the 35-pass Gutmann method. This is the default and slowest overwrite mode.
-r, -R, --recursive
Remove the contents of directories recursively.
-v, --verbose
Explain what is being done. Specify this option multiple times to increase verbosity.

References