To recover permanently deleted files from a Mac:
Recovery Vault is a feature included in the free version of Disk Drill that can recover deleted files from your Mac. You can designate specific files or folders to be protected as well as the length of time they will remain in the vault. When a protected file is deleted it can easily be restored from the Recovery Vault.
The best way to undelete files on Mac without software is with a Time Machine backup. Follow these steps:
Once a file has been overwritten, it usually cannot be restored with data recovery software. You can try scanning with Disk Drill to scavenge any recoverable data. You probably need to have a backup of the file if you want to retrieve it. Follow these general steps: