New answers tagged

3 votes

Using "shred" on BSD systems

rm itself has the -P flag. OS X man page documents it as: -P Overwrite regular files before deleting them. Files are overwritten three times, first with the byte pattern 0xff, then 0x00, ...
user avatar
  • 246
7 votes

Using "shred" on BSD systems

The answer that qorg11 gave is the technically accurate answer to your question (so go and upvote it!). The reality is that shred is useless. All BSDs, as well as Linux, have modern file systems, ...
user avatar
6 votes
Accepted

Using "shred" on BSD systems

You can install the GNU coreutils with brew install coreutils in macOS (using Homebrew), pkg install coreutils in FreeBSD, or pkg_add coreutils in OpenBSD and then run gshred, which will behave ...
user avatar
  • 86

Top 50 recent answers are included