1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/srm.md
2016-01-16 15:12:05 +01:00

18 lines
419 B
Markdown

# srm
> Securely remove files or directories.
> Overwrites the existing data one or multiple. Drop in replacement for rm.
- Remove 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 {{\*}}`