TestDisk or PhotoRec?

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: 2
Joined: 03 Dec 2015, 16:07

TestDisk or PhotoRec?

#1 Post by recoverynewbie »

Newbie question. If answer already exists, please reference link(s).

I deleted all folders containing jpegs and Sony raw files on a SanDisk memory card accidentally, and would like to recover them. The card was formatted in FAT32, and I will be recovering it on my Win7 desktop.

For my purpose, should I use TestDisk, or PhotoRec?

For the recovered folders and files, how can I preserve their original names and/or time stamps?

What are the dos commands?

Thanks in advance.

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

Re: TestDisk or PhotoRec?

#2 Post by cgrenier »

If you want to keep the original filenames, try TestDisk, Advanced, Undelete.
Note that PhotoRec restore the timestamps from jpg headers

Posts: 2
Joined: 03 Dec 2015, 16:07

Re: TestDisk or PhotoRec?

#3 Post by recoverynewbie »

Thanks for the response.

Using TestDisk, and following your instructions, I was able to undelete the folders and files, with their original names. However, some of the undeleted jpeg files would display, but some would not. The error message was "Can't read file header". What does that mean, and how can it be fixed?

I had also undeleted the same card's folders and files using SanDisk RescuePro Deluxe. The original names of the folders and files were replaced by random numbers. But all the jpeg files can be displayed without error.