1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 07:18:29 +01:00
tldr/pages/common/srm.md
Srinivasan R 2097cf359d Add extra newline between consecutive commands examples.
These 6 files had multiple examples all separated by a single newline.
While rendering it in markdown, the examples all come up in a single
line.
Adding another newline makes rendering better.
Also will help in easier copying (double click on the line to copy).
2015-10-28 22:40:44 +05:30

418 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 {{\*}}