Re:A thorough Linux clean-up script
by throwaway29303 on Saturday February 15, 2025 @11:44AM
(#43059890)
Reminder that shred(1) doesn't work on journaled filesystems.[0][1][2]
CAUTION: shred assumes the file system and hardware overwrite data
in place. Although this is common, many platforms operate
otherwise. Also, backups and mirrors may contain unremovable
copies that will let a shredded file be recovered later. See the
GNU coreutils manual for details.
Re:A thorough Linux clean-up script
by uws on Saturday February 15, 2025 @04:33PM
(#43062558)
Thank you for your detailed assessment. I have updated the script to fill the directories with random data (to match original size) at the end to help prevent recovery further.
[1] - https://stackoverflow.com/questions/913282/shred-doesnt-work...
[2] - https://en.wikipedia.org/wiki/Journaling_file_system