testdisk icon indicating copy to clipboard operation
testdisk copied to clipboard

Scriptable mode, similarly to Unix fdisk's sdisk binary

Open erkinalp opened this issue 1 year ago • 5 comments

erkinalp avatar Mar 04 '24 13:03 erkinalp

I believe I'm looking for something similar. I want to be able to run photorec in headless mode i.e. as part of a script or an overlay program.

Is this the same as what you're looking for @erkinalp ?

I have a POC working and would love to know if this is something the maintainers would like to see a patch for

aditya-konarde avatar May 28 '25 08:05 aditya-konarde

Also see: https://www.cgsecurity.org/wiki/Scripted_run

aditya-konarde avatar May 28 '25 08:05 aditya-konarde

@aditya-konarde yes, indeed

erkinalp avatar May 28 '25 09:05 erkinalp

FYI: got it to work but it's nowhere production ready, and was pretty much vibe coded, I wouldn't feel comfortable pushing it in the current state. Unfortunately I won't have the time to clean up and make a PR for this. I hope someone else does and we see this feature eventually make it's way :)

aditya-konarde avatar Jul 13 '25 19:07 aditya-konarde

send your PR that way and let us review

erkinalp avatar Jul 13 '25 19:07 erkinalp