directory turned into a file? . . .

Using TestDisk to undelete files
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read
Posts: 1
Joined: 24 Nov 2018, 00:37

directory turned into a file? . . .

#1 Post by lweinberg »

there is a file (an odt document) that I had inside of a directory which got removed somehow.

After reading testdisk's procedures and trying it in different ways, I still find on testdisk.log what used to be that directory listed as:

X11535268 -rw-r--r-- 1000 1000 86126 22-Nov-2018 14:22 2018-06-16_ThinkPad_L512


Any hope of saving that file?

Sponsored links

User avatar
Site Admin
Posts: 5307
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France

Re: directory turned into a file? . . .

#2 Post by cgrenier »

Yu ca try to copy this file using TestDisk and if it doesn't wok, use PhotoRec on the free space of this ext4 partition.
Be careful to not write new data on the source parition until you have confirmed that you have recovered your lost file.