fileOptions defaults customization

Using PhotoRec to recover lost data
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
405lefthands
Posts: 1
Joined: 27 Jun 2023, 20:54

fileOptions defaults customization

#1 Post by 405lefthands »

Hello and thank you for your amazing work.

I see in the automated/batch options, there is a way to set the file types to look for...

Code: Select all

...fileopt,everything,disable,jpg,enable,gif,enable,...
Is there a way, either by an .env variable or from the command line at invocation, to set the file types that aren't in a batch? (because I don't know the mount point off hand, or haven't decided where the export will be)

here's the idea:

Code: Select all

(q)photorec -fileopt everything,disable,jpg,enable,mkv,enable,mp4,enable...
So when photorec or qphotorec (i'm a sucker for the cleanUI) opens/starts, I still choose the source/destination, but the fileOptions are already set and I don't have to clear selection, scroll and select the proper types.

Thanks again for a great tool!

Locked