Choose partition in scripting mode
Posted: 29 Jul 2020, 00:02
I'm trying to script testdisk to see which partitions contain an "accessible" filesystem.
Let's say I want to execute "list" on partition 3, I try
testdisk /cmd image.dsk analyze,3,list
but get an syntax error. The documentation says that the "analyze" menu has a "number" command, but I'm not sure what that means/how to use it.
Thanks.
Let's say I want to execute "list" on partition 3, I try
testdisk /cmd image.dsk analyze,3,list
but get an syntax error. The documentation says that the "analyze" menu has a "number" command, but I'm not sure what that means/how to use it.
Thanks.