The technology has changed over the past few years, so when I happened to see this answer (why the answer wasn’t accepted again?), I would like to provide an update for others with similar questions.
Note that shredding is very dependent on the file system and media. Trying to “split” a file in a log-based file system or a file system stored on a smart flash drive (write alignment) will not take you very far. You should, at a minimum, write enough data to fill the device in order to hope that the old data can be overwritten once.
Most likely, you will have to write several smaller files, and when you get FS, delete it, and then continue to write a new one so that all the reserved space is overwritten. Then you are likely to be safe enough. Maybe.
I say this probably because the / FS storage medium may decide that the block is not working (or is using too much relative) and displays it, instead replacing some other part of the disk. Of course, this is a one-block block, so it is unlikely that any much larger file will be reconstructed.
Seth robertson
source share