TestDisk skip some files

Using TestDisk to undelete files
Post Reply
Message
Author
mihai2k
Posts: 1
Joined: 06 Apr 2018, 22:14

TestDisk skip some files

#1 Post by mihai2k » 06 Apr 2018, 22:20

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

Sponsored links

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

Re: TestDisk skip some files

#2 Post by cgrenier » 08 Apr 2018, 09:11

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

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests