Sun, 8 Dec 2024

1:36 PM - Reading corrupted files on *NIX systems

There's a utility called ddresuce that can be used to read corrupted files from various file systems.  

First pass:
ddrescue -n -v /path/to/source_file /path/to/destination_file logfile

Second pass using same logfile:

ddrescue -d -r3 /path/to/source_file /path/to/destination_file logfile

This can often read or partially read files and can skip bad blocks.

0 comments