TAR(1)TAR(1)
NAME
tar, dircp – archiver
SYNOPSIS
DESCRIPTION
The function is one of the following letters:
Create a new archive with the given files as contents.
The named files are appended to the archive.
List all occurrences of each
Extract the named files from the archive. If a file is a directory, the directory is extracted recursively. Modes are restored if possible. If no file argument is given, extract the entire archive. If the archive contains multiple entries for a file, the latest one wins.
The modifiers are:
Use the next argument as the name of the archive instead of
the default standard input (for keys
Use the next (numeric) argument as the group id for files in the output archive.
Ignore errors encountered when reading. Errors writing either produce a corrupt archive or indicate deeper file system problems.
(keep)
Modifies the behavior of
Do not set the modification time on extracted files. This is the default behavior; the flag exists only for compatibility with other tars.
Create archive in POSIX ustar format,
which raises the maximum pathname length from 100 to 256 bytes.
Ustar archives are recognised automatically by
Do not generate the POSIX ustar format.
When extracting, respect leading slash on file names. By default, files are always extracted relative to the current directory.
When extracting, attempt to resynchronise after not finding a tape header block where expected.
Modifies the behavior of
Use the next (numeric) argument as the user id for files in the output archive. This is only useful when moving files to a non-Plan 9 system.
(verbose)
Print the name of each file as it is processed.
With
Operate on compressed
EXAMPLES
@{cd fromdir && tar c .} | @{cd todir && tar xT}
SOURCE
SEE
BUGS
There is no way to ask for any but the last occurrence of a file.
File path names are limited to 100 characters (256 when using ustar format).
The
The
The