ftar (8)

SYNOPSIS

ftar [options] SOURCE

DESCRIPTION

Extract an archive from SOURCE to its target directory using classes.

SOURCE is a directory which contains one or more template files for the source archive to extract. Depending on the list of defined classes, one or more archives of the source directory are selected and extracted to the target. The base target directory is the name of the source directory. Template files must have suffix .tar, .tgz, .tar.gz, .tar.xz, .txz, .tbz2 or .tar.bz2 depending on the type of archive.

The exit code returned by ftar is mostly 0. For every successfully extracted tar file, a log message is printed to standard output.

OPTIONS

Options -c, -s, -t (or their analog variables) and a SOURCE are required.

-1

Use only one archive file matching a class name.

-c class[class]

Define classes. Multiple classes must be space separated. The first class has the lowest priority. If not specified, use the classes from the file /tmp/FAI_CLASES.

-d

Delete all files in target directory before extracting the archive(s).