Undelete text files with .log and .out extensions (NTFS)

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 https://www.cgsecurity.org/testdisk.pdf
Posts: 1
Joined: 17 Sep 2013, 22:31

Undelete text files with .log and .out extensions (NTFS)

#1 Post by powerpchead »

I was using Ubuntu and did "rm -rf *" on a directory that contains text files with .log and .out extensions on an external hard drive that has NTFS. Looking through http://www.cgsecurity.org/wiki/File_For ... y_PhotoRec, it seems like it may not recover these .log and .out files. How do make TestDisk find these files?

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

Re: Undelete text files with .log and .out extensions (NTFS)

#2 Post by cgrenier »

Two possibilities:
- Use TestDisk to undelete the file properly: http://www.cgsecurity.org/wiki/Undelete ... h_TestDisk
- Use txt file family in PhotoRec. Be careful to store the recovered files on another partition.