Unable to Select folder

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: 07 May 2020, 07:22

Unable to Select folder

#1 Post by kd333 »

TestDisk 7.0
- - -
Hi, I am trying to use testdisk to undelete a folder and it's contents... the problem I have is the folder resides in a directory which has hundreds of thousands of files around it and I cannot change to the directory I need.

I have attempted to scroll / page down to the bottom of the list view in hope to find the deleted folder but I have been scrolling for quite a while now....

Is there any way perhaps to run testdisk restore from command line?

something like?

testdisk /dev/sda2/root/folder/deleted /mnt/restored

I hope somebody can help me!

Sponsored links

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

Re: Unable to Select folder

#2 Post by cgrenier »

You can run testdisk from /mnt/restored.
If testdisk doesn't list the directory, it may be because it is unable to find it. In this case, it's possible to use PhotoRec but it will not recover the original filenames and file structure.
You will have to sort numerous files...