2014-02-10 23:44:02 +00:00
|
|
|
# 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}}`
|
2015-10-28 17:10:44 +00:00
|
|
|
|
2014-02-10 23:44:02 +00:00
|
|
|
`srm -m {{/path/to/file}}`
|
2015-10-28 17:10:44 +00:00
|
|
|
|
2014-02-10 23:44:02 +00:00
|
|
|
`srm {{/path/to/file}}`
|
|
|
|
|
|
|
|
- Scurely remove recursively a directory and all it's subdirectories
|
|
|
|
|
|
|
|
`srm -r {{/path/to/folder}}`
|
|
|
|
|
|
|
|
- Prompt before every removal
|
|
|
|
|
2015-10-28 08:33:06 +00:00
|
|
|
`srm -i {{\*}}`
|