BestSolution-at / fixtar

extract data from corrupted tar files
GNU General Public License v2.0
45 stars 9 forks source link

ft ("fix tar")

ft is a commandline tool to extract as much data from corrupted tar archives as possible.

Some background information about the tool can be found in the docs folder of the project.

License

ft is distributed under the terms of the GNU General Public License (GPL), Version 2.0. The text of the license is included in the file LICENSE in the root of the project.

The tool is © by Thomas Graf

Building

In order to build ft, you will need the following build requisites:

Once you have those tools, change into the src folder and invoke make.

make test will run a couple of tests and make install will install the tool in /usr/local/bin

Installation

After building, run make install. ft will then be installed in /usr/local/bin

Usage

ft copies all data it can find, even if the data is moved within the archive. Usage:

    ft < damaged.tar > repaired.tar
    ft < damaged.tar | tee repaired.tar | tar -tf - | tee list.txt
    ft < damaged.tar | tar --backup=numbered -xvf -

Notes: