copy others to /home into another storage dev. before shredding it, put/copy back if still want use it
or simply make overwriting script to replace the sensitive files in /home by good util e.g: sed -i .... , bash echo >, etc On 9/25/21, Jeffrey Walton <noloa...@gmail.com> wrote: > On Sat, Sep 25, 2021 at 1:40 AM jedenfalco <jedenfa...@protonmail.com> > wrote: >> ... >> > It can't, because that's not how shred works. Recursively shredding >> > files within a larger filesystem does NOT guarantee that the old file >> > is wiped out, because modern file systems tend to write the new file >> > to a different part of the block storage while leaving the old storage >> > unchanged other than marked as unused; with the right software, it's >> > fairly trivial to read the contents of those areas of the disk. ... >> >> Could it work on a specific partition? > > As Eric explained, it depends on the disk but the answer is likely no. > For solid state drives see "Reliably Erasing Data From Flash-Based > Solid State Drives," > https://www.usenix.org/legacy/events/fast11/tech/full_papers/Wei.pdf. > > Jeff > >