ADF_SALVAGE(1)

NAME
adf_salvage - show or recover (in the future - extract) deleted files from an ADF device.

SYNOPSIS
adf_salvage [-h] [-v] [-V] [-p]vol <adf_device> [sector...]

DESCRIPTION
adf_salvage is a filesystem utility allowing to display or to recover (possibly, in the future, also to extract) deleted files from an OFS/FFS volume of an ADF device.

When called with just the name of an ADF device, it shows the list of deleted files, along with the position (as sector/block number) of their file header blocks. The undelete can be performed by adding the list of positions of the file header blocks of the deleted files to the command.

WARNING
PLEASE NOTE THAT THIS IS AN EXPERIMENTAL UTILITY, USE IT ON A COPY NOT THE ORIGINAL DEVICE! (ESPECIALLY IF THE FILESYSTEM USES DIRCACHE!).

OPTIONS
A summary of the options.

-h  Show help.

-v  Be more verbose.

-V  Show version.

-p vol
    Specify volume/partition number (counting from 0), default: 0

EXAMPLES
adf_salvage mydisk.adf
    Shows list of deleted entries (files, directories) on the volume 0 of mydisk.adf
adf_salvage -v -p 1 mydisk.adf 884 1000
    Undeletes files which file header blocks are at the specified sectors of the second volume/partition (the first is 0), the sectors number should be taken listing the deleted entried (running this withouht any sector numbers). More verbose during the operation.

SEE ALSO
adf_show_metadata(1),unadf(1),adflib(3)

NOTES
Detailed info about Commodore Amiga filesystems: http://lclevy.free.fr/adflib/adf_info.html

AUTHOR
adf_salvage was written by Tomasz Wolak <tomas.wolak@gmail.com>, as a part of the ADFlib (https://github.com/lclevy/ADFlib).