1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-14 12:38:01 +00:00

Add Securely Remove Files as a zsh til.

This commit is contained in:
jbranchaud
2015-08-12 21:12:02 -05:00
parent 0d91482323
commit 3494354ad9
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# Securely Remove Files
If you really want to make sure you have wiped a file from your hard drive,
you are going to want to use `srm` instead of `rm`. The man page for `srm`
gives the following description:
> srm removes each specified file by overwriting, renaming, and truncating
> it before unlinking. This prevents other people from undeleting or
> recovering any information about the file from the command line.
h/t Dillon Hafer