Scalpel is a Linux utility which is traditionally used to recover files on the basis of file signatures, that is in a manner that is unaware of the file system.
Can we also use it for doing the contrary, i.e. erase content?
Assuming that the file header and footer signatures are known, is there a way to erase (zero-fill) the contents matched by scalpel to permanently delete files as well as their prior versions?
This would be to clean a computer before selling it and while keeping the softwares installed.
Extra question if possible: How would you delete or corrupt fragmented files, without risking to damage other files? Maybe carve with max file size, ignore footer, and delete only first sector of each match?