Section: User Commands (1)
Tar stores and extracts files from a tape or disk archive.
The first argument to tar should be a function; either one of the letters Acdrtux or one of the long function names. A function letter need not be prefixed with ``-, and may be combined with other single-letter options. A long function name must be prefixed with \-\- Some options take a parameter; with the single-letter form these must be given as separate arguments. With the long form, they may be given by appending = value'' to the option.
Main operation mode:
:-j , --bzip2
:-J , --xz
:-z , --gzip , --gunzip --ungzip
:-Z , --compress , --uncompress
The behavior of tar is controlled by the following environment variables, among others:
Create archive.tar from files foo and bar.
tar -cf archive.tar foo bar</BLOCKQUOTE>
List all files in archive.tar verbosely.
tar -tvf archive.tar</BLOCKQUOTE>
Extract all files from archive.tar.
tar -xf archive.tar</BLOCKQUOTE>
The GNU folks, in general, abhor man pages, and create info documents instead. Unfortunately, the info document describing tar is licensed under the GFDL with invariant cover texts, which makes it impossible to include any text from that document in this man page. Most of the text in this document was automatically extracted from the usage text in the source. It may not completely describe all features of the program.
Tutoriais de Tecnologia Web