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: