Testdisk does not recover the directory?

Deleted the folder method rm-rf *. Use testdisk to restore. The folder itself sees highlights it in red, but says its size is 0 bytes. and the folder is empty. This means that all is lost? Or am I doing something wrong? In this folder was other folders with files of type .cpp .h.
March 19th 20 at 08:29
2 answers
March 19th 20 at 08:31
This means that all is lost?

Yeap.

Deleted the folder method rm-rf *.

Why? Done on a production system? I mean, does the OS files were deleted and what time.
no. More precisely, the system worked, only the user was removed. I had lost almost everything in the folder /home/user. Including my desired folder. was was a script that had to be cleaned a separate directory. but if the way to specify napravleno at least one character, she begins to frolic and to remove all that arm will fall. - Domenico65 commented on March 19th 20 at 08:34
@Domenico65, just if the system worked, it could easily overwrite the empty space with some logs :( - Katherine_Jerde9 commented on March 19th 20 at 08:37
@Katherine_Jerde9, there is no Chance? - Domenico65 commented on March 19th 20 at 08:40
@Domenico65, and what file system? If ext4, then my conscience is clear, you can try this: https://forum.ubuntu.ru/index.php?topic=88932.0 - Katherine_Jerde9 commented on March 19th 20 at 08:43
@Katherine_Jerde9, the ext4 file system/ extundelete when you start produces segmentation fault - Domenico65 commented on March 19th 20 at 08:46
@Domenico65, ehh. From repo and try to install:

sudo apt-get install extundelete


If it is. You can also try photorec proceniti-om, he's usually with testdisk comes. - Katherine_Jerde9 commented on March 19th 20 at 08:49
March 19th 20 at 08:33
For conscience ' sake, I would advise you further to scan the disk or by using UFS Exploreror Raise Data Recovery for Ext.
Scan is available without a license.

The ideal would, of course, a disk to use to stop and connect it to another machine.

Find more questions by tags data recoveryUbuntuLinux