Shreding a folder tree


/ Published in: Bash
Save to your folder(s)

This is how to use the shred utility on a folder tree.


Copy this code and paste it in your HTML
  1. $ find -type f -execdir shred -uv '{}' \;
  2. # now we are left with an empty directory tree.

URL: http://www.linuxforums.org/forum/misc/46693-how-shred-entire-directory-tree.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.