other versions
- wheezy 4.0.8~deb7u1
- jessie 4.3.1+deb8u1
- jessie-backports 5.3.6~bpo8+1
- testing 5.3.6
- unstable 5.3.6
ftar(8) | System Manager's Manual | ftar(8) |
NAME¶
ftar - extract tar files using classesSYNOPSIS¶
ftar [options] SOURCEDESCRIPTION¶
Extract an archive from SOURCE to its target directory using classes.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).
- -D
- Create debugging output.
- -h
- Show help, version and summary of options.
- -i
- Ignore warnings about no matching class and always exit with 0.
- -r
- Recursively remove files in target directory before extracting archive.
- -s source_dir
- Look for SOURCE files relative to source_dir. Use $FAI/files if not specified.
- -t target_dir
- Extract archives relative to target_dir. Use $FAI_ROOT if not specified.
- -v
- Be verbose. Not yet used.
EXAMPLES¶
Suppose the source directory /files/usr/local consists of the following files:# ftar -s /files -t /target /usr/local
# tar -C /target/usr/local -zxf /files/usr/local/DATALESS.tar.gz
# tar -C /target/usr/local -jxf /files/usr/local/ant01.tar.bz2
NOTES¶
Do not create a file DEFAULT if no reasonable default configuration file can be used. It's better to exit with an error than to extract a wrong archive.SEE ALSO¶
fcopy(8)AUTHOR¶
Thomas Lange <lange@informatik.uni-koeln.de>29 July 2010 |