TestDisk skip some files

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
Locked
Message
Author
mihai2k
Posts: 1
Joined: 06 Apr 2018, 22:14

TestDisk skip some files

#1 Post by mihai2k »

Hi, thank you for this awesome tool!
I have an almost dead WD blue usb3 external disk. It has a lot of bad sectors and the second partition dissapeard.
I am using testdisk to recover some important data for me. The disk is getting slower and slower and i dont want to waste time from his life transferring large files.
I have downloaded and compiled it. I am willing to modify the source code for the copy process to skip some file extensions like mov mkv and mp4.
Please guide me ... on which c file is this process of writing occuring.
Thanks

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

Re: TestDisk skip some files

#2 Post by cgrenier »

If the disk contains bad sectors, it's recommended to clone it to a new empty disk using ddrescue as described in https://www.cgsecurity.org/testdisk.pdf and use TestDisk on the clone

Locked