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
srm type of solution that's built into macOS already.