[go: up one dir, main page]

Skip to content
Ulrich Berntien edited this page Jul 10, 2019 · 2 revisions

srm

Name

srm - secure file delete.

Synopsis

srm FILE [FILE ...]

Description

srm is just a wrapper around shred, basically. File set writeable, overwrite, truncate and remove is configured in the wrapper function. If the srm tool is not installed the wiper tool will be used. As fallback the shell scripts set write

The argument is

  • FILE: The file to overwrite and

Restriction

On modern file systems the overwriting of a file does not ensure the overwriting on the disk. Data of the removed file could stay on the disk despite the overwriting attempt.

Examples

Removes the file myfile.

$ srm myfile

Removes two files.

$ srm myfileA myfileB
Clone this wiki locally