Undelete utility that preserves folder structure [closed]

Solution 1:

I was able to preserve the folder structure with Pandora Recovery.

Solution 2:

No. Files are deleted by removing their reference from the directory index. The file still exists on the disk (until the space it occupies is overwritten) but there is no longer a reference to tell the restore software which directory it was in.

The trash/recycle bin of modern OSes remembers where the file was before it was moved so it can be restored correctly.

Backup utilities like TimeMachine store a mirrored copy of the file system so that they know were each file was.