srm
Securely remove files or directories.
Overwrites the existing data one or multiple times. Drop in replacement for rm.
- Remove a file after a single-pass overwriting with random data:
- Remove a file after seven passes of overwriting with random data:
- Recursively remove a directory and its contents overwriting each file with a single-pass of random data:
- Prompt before every removal:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).