Hello Burkart,

Burkart Lingner wrote:
For my suite of data recovery scripts (more on that some other time) I needed a way to modify the type of a certain block in ddrescue's log file.

I am currently adding new features to ddrescuelog and this could be one of them. It could be implemented like this:

ddrescuelog -i<start> -s<size> --change-types=<old_types>,<new_types> logfile > new_logfile

This would change all blocks in domain (<start>, <size>) from one type in <old_types> to the corresponding type in <new_types>, much like the "tr" command does.

What do you think?


Regards,
Antonio.

_______________________________________________
Bug-ddrescue mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to