I want to shred or secure delete big folder that have about 100 GB information and many files What command or tool can I use for this?
Asked
Active
Viewed 1,749 times
1 Answers
0
The chattr command can be used to change a folder or files attributes.
So if you use
chattr -R +s the_big_folder
It will recursively add the secure delete attribute to all sub directorys and files. Which means that when you delete them they will be zero filled. Then, you just have to delete them using
rm -rf the_big_folder
Andrew
- 817