From the developer of the LZ Utils package, which allows you to compress files and folders using the tar.lz method, we introduce you to GNU ddrescue, an open source command-line utility that helps anyone to recover lost data from damaged devices, such as hard disk drives (HDD), solid state drives (SSD), CD-ROMs or USB flash drives.
Features at a glance
Key features include the ability to read and recover any type of file, fills the sectors that are unreadable with data from other copies of the respective file, if exist, a fill mode that allows you to selectively overwrite parts of the output file, as well as support for a wide range of devices, including SATA, SCSI, ATA, Floppy discs, MFM drives or SD/CF flash cards.
To install program program from the source tarball, you will have to first install the GCC (GNU Compiler Collection) program and GNU Make, then execute the “./configure”, “make” and “make install’ commands (without quotes). To use it, run the “ddrescue --help” command in the terminal emulator, without quotes, of course.
Command-line options include the ability to display the minimum read rate of good areas in bytes per second, mark non-trimmed and non-scraped files as non-tried, fill given type blocks with infile data, set map of bad and good blocks from a given logfile, verify the input file size with size in logfile, as well as to restrict domain to finished blocks in a file.
Under the hood, availability and supported OSes
GNU ddrescue is a small command-line program, written entirely in the C++ programming language and designed to work on any 32-bit or 64-bit GNU/Linux operating system. It is available for download for free, as a universal sources archive that requires users to configure and compile the program prior to installation. Various Linux distributions have GNU ddrescue on their default software repositories, so we strongly suggest you to install it from there.