MacOS – How to recover .cpp files emptied from Trash

data-recoverydeletingfile-recoverymacostrash

About 4 days earlier I deleted my important c++ files along with other files on the desktop by mistake without even realizing and figured it out later. I'm unable to find .cpp files in the deepscan of recovery softwares like iSkysoft data recovery. How can I recover them? It's urgent.

  • Device : Macbook Air 2015
  • OS : High Sierra 10.13
  • Backups : none

Best Answer

Your data is gone

The way the SSD deletes data is an immediate and permanent thing. This is why your recovery software won't succeed here. It's so efficient and so secure, Apple removed srm from macOS

Backups : none

Ouch. Unfortunately, your solution would have been to restore from said backup.

Personally, I save all my documents, scripts (bash and AppleScript) to my Cloud drive (iCloud, OneDrive, etc.) It's also backed up to a NAS and to Time Machine. With the low cost and availability of USB drives (flash, spinning and SSD) as well as the many options for cloud storage (both on prem and SaaS), a backup strategy should not be something that gets put on the back-burner because it's too complicated.