From 3494354ad9f48df1ad2cf918f41437b23bfa2dfb Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Wed, 12 Aug 2015 21:12:02 -0500 Subject: [PATCH] Add Securely Remove Files as a zsh til. --- README.md | 1 + zsh/securely-remove-files.md | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 zsh/securely-remove-files.md diff --git a/README.md b/README.md index aef6c8b..78057d6 100644 --- a/README.md +++ b/README.md @@ -203,6 +203,7 @@ smart people at [Hashrocket](http://hashrocket.com/). - [Repeat Yourself](zsh/repeat-yourself.md) - [Saying Yes](zsh/saying-yes.md) - [Search History](zsh/search-history.md) +- [Securely Remove Files](zsh/securely-remove-files.md) - [SSH With Port Forwarding](zsh/ssh-with-port-forwarding.md) - [Switch Versions of a Brew Formula](zsh/switch-versions-of-a-brew-formula.md) - [Watch The Difference](zsh/watch-the-difference.md) diff --git a/zsh/securely-remove-files.md b/zsh/securely-remove-files.md new file mode 100644 index 0000000..9b7c75d --- /dev/null +++ b/zsh/securely-remove-files.md @@ -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