Non-interactive mode

Using PhotoRec to recover lost data
Post Reply
Message
Author
opalenzuela
Posts: 2
Joined: 29 Dec 2014, 16:12

Non-interactive mode

#1 Post by opalenzuela » 29 Dec 2014, 16:25

I've just discovered this great tool, and I could go through my old laptop's harddrive to recover an accidentally deleted backup that I've thought lost for good until now.

However, I believe this program (PhotoRec) could be even more powerful with an non-interactive execution mode: all the options specified by launch parameters, and/or taking default values for each option. This could help many users with less technical knowledge to perform a recovery from a "cheat list" of oneliners.

Sponsored links

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

Re: Non-interactive mode

#2 Post by cgrenier » 29 Dec 2014, 22:42

Well, if you press enter each time, you have the default options...

opalenzuela
Posts: 2
Joined: 29 Dec 2014, 16:12

Re: Non-interactive mode

#3 Post by opalenzuela » 30 Dec 2014, 08:15

Yes, but still it would be required the user's intervention, which in fact makes no difference in the real program execution.

In the Linux/Unix world it's a big deal to solve problems with just one line of code - no matter how long and cryptic it is - because that lets you execute it as part of a more complex process, and controlling if each step was successful or not.

And it's not only about using default values, but also to be able to specify all the relevant values (filesystem, for instance) from the command line.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest