Created
October 4, 2017 15:38
-
-
Save agarzon/96a711e0198ad57d5c56d39ebe3b7109 to your computer and use it in GitHub Desktop.
Securely erasing all files in folders recursively
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#If you want more "passes" change vzun0 for vzun1 or any other number (process will be slower!) | |
find /mnt/backup -type f -print0 | xargs -0 shred -vzun0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment