Friday, June 2, 2017

Ubuntu wipe directory

  1. Install the package 'secure-delete'
  2. Use the command 'srm -r pathname' to remove your folder and files
The default settings are for 38 (!!!) passes of overwrites which is extreme overkill imho (see more info about this here:
For my usage, I only want a single pass of random data so I use 'srm -rfll pathname'

Src:  https://askubuntu.com/questions/122549/how-to-shred-a-folder