Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iMac2019

Contributor
Aug 3, 2023
43
23
Riviera, France
AFAIK macOS is *nix based.

So basically when you "delete" a file subsystem only remove the inode reference to that file. that's a question of speed and efficency of possibly deleting hundreds of files.
As you remember everything is "file" in *nix, your directory is a file too.
As long as your system don't overwrite the disk space previously attached to the deleted file, you have a chance to recover.

*** BUT *** on active system the next millisecond the inode is "freed" the bigger the chance that those space get overwritten.
And a file / directory could have multiple extends over the entire disk, which further reduces the chance of recovering the entire deleted file(s).

On a loaded server with multiple processes / threads running in memory, chance = 0.

So sysadmin are right when they said recovery a deleted file is kind of miracle.
You have been very lucky, trust them.

 
Last edited:

winxmac

macrumors 68000
Sep 1, 2021
1,571
1,832
Do not install a data recovery software on the drive you are attempting to recover the data from, so if the data was accidentally deleted on the main drive, shut the system down immediately and do not attempt to install anything on it, connect it to another system and install the data recovery software on the other system's drive, but if the data lost was on a secondary drive, go ahead and install the data recovery software to the main drive...

Regardless of whether the data was lost on the main drive or secondary drive, do not attempt to restore the file [save] to the drive it got deleted from by accident... Do not save it to the source drive but on an entirely different drive...
 
  • Like
Reactions: john123
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.