[Master Answer Logo]
Question

How can I recover a deleted directory?

Answer

File wiping is useful for confidentiality, because files are not entirely deleted using the operating system's default delete function. Typically, standard delete function consists of marking the space occupied by the file as free and updating file system metadata structures, leaving the actual file contents intact on the physical medium. If the file system continues to be used, eventually this space will be assigned to other files and overwritten. However, if the file system has not been used intensively since the file was deleted, recovery or forensic tools have a good likelihood of retrieving deleted data in part or in whole by accessing the medium at low level.

— Source: Wikipedia (www.wikipedia.org)