mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:22:09 +02:00
srm: Condense and reword. Remove 35-pass example cause it's crazy-town.
This commit is contained in:
parent
16549758f1
commit
a53e772333
1 changed files with 7 additions and 5 deletions
|
@ -1,17 +1,19 @@
|
|||
# srm
|
||||
|
||||
> Securely remove files or directories.
|
||||
> Overwrites the existing data one or multiple. Drop in replacement for rm.
|
||||
> Overwrites the existing data one or multiple times. Drop in replacement for rm.
|
||||
|
||||
- Remove a file after overwriting (single pass, 7 pass, 35 pass):
|
||||
- Remove a file after a single pass overwriting with random data:
|
||||
|
||||
`srm -s {{/path/to/file}}`
|
||||
|
||||
- Remove a file after seven passes overwriting it with random data:
|
||||
|
||||
`srm -m {{/path/to/file}}`
|
||||
`srm {{/path/to/file}}`
|
||||
|
||||
- Scurely remove recursively a directory and all it's subdirectories:
|
||||
- Recursively remove a directory and contents overwriting each file with a single pass of random data.
|
||||
|
||||
`srm -r {{/path/to/folder}}`
|
||||
`srm -r -s {{/path/to/folder}}`
|
||||
|
||||
- Prompt before every removal:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue