How do I securely delete a folder, with all of its contents, so it cannot be recovered?
I have tried the shred
command but it only works with files and not folders.
I have also found out that there is a package called secure-delete
which seems to work fine on Ubuntu, but when I try to install it using sudo yum install secure-delete
I get the following message: No package secure-delete available which makes me think that the package is not available for CentOS 7.
How to proceed?