bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-ddrescue] Perl script to modify ddrescue log files


From: Burkart Lingner
Subject: [Bug-ddrescue] Perl script to modify ddrescue log files
Date: Sun, 16 Oct 2011 22:33:35 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15

Hi everybody!

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. To achieve that I wrote the attached Perl script ddrlogmod.pl. For documentation execute either
  perldoc ddrlogmod.pl
or
  ./ddrlogmod.pl --help

So far it's only possible to change one block at a time which means you'll have to call ddrlogmod.pl repeatedly (possibly from a wrapper script) if you need to adjust several blocks.

I hope someone finds the script useful
Bye, Burkart

Attachment: ddrlogmod.pl
Description: Perl program


reply via email to

[Prev in Thread] Current Thread [Next in Thread]