How to securely `shred` a file in APFS? (macOS Mojave and newer)
8
votes
2
answers
6672
views
I just came across this thread about securely deleting files :
> If, by stroke of misfortune, you're on a magnetic medium, have
> journalling disabled and, for some reason, can't encrypt the disk,
> you're options are:
>
> * Use rm -P which overwrites files with 0xff, then 0x00, and then 0xff again
And this contradictory superuser thread . Apparently it's not easy to securely delete files using Apple's older HFS+/Journaled file system.
**Without the use of third-party software, is it possible to natively wipe a file in a Mac that's using APFS (macOS Mojave and newer) and FileVault encryption?**
I understand macOS makes it difficult with all of its journaling and backup functionalities. But I'm looking for a
shred
or srm
type of solution that's built into macOS already.
Asked by lily
(869 rep)
Sep 26, 2018, 07:07 PM
Last activity: May 27, 2023, 02:07 PM
Last activity: May 27, 2023, 02:07 PM