1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 11:38:13 +01:00
tldr/common/srm.md
Peter Tripp a85601486c Added: Cal, srm, md5, md5sum, xed
Edited cp and rm. Fixed markdown escaping the wildcard.
2014-02-10 15:44:02 -08:00

415 B

srm

Securely remove files or directories Overwrites the existing data one or multiple. Drop in replacement for rm.

  • Removes a file after overwriting (single pass, 7 pass, 35 pass)

srm -s {{/path/to/file}} srm -m {{/path/to/file}} srm {{/path/to/file}}

  • Scurely remove recursively a directory and all it's subdirectories

srm -r {{/path/to/folder}}

  • Prompt before every removal

srm -i {{\*}}