Returning sector and max sectors to script

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
Posts: 1
Joined: 07 Dec 2012, 18:02

Returning sector and max sectors to script

#1 Post by xexen »

Is there a way to return reading sector/max sector counts to a script. I'm attempting to write a Mac frontend for my users and I would like to update a progress bar.

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

Re: Returning sector and max sectors to script

#2 Post by cgrenier »

PhotoRec can be compiled with a Qt interface (./configure --enable-qt && make), the program is named qphotorec.
Feel free to work on it (Patchs welcome), only the first screens are implemented for the moment.