6a0e236
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
6a0e236
.TH TAR "1" "November 2009" "tar 1.22" "User Commands"
Radek Brich 344a711
.SH NAME
6a0e236
tar \- manual page for tar 1.22
Radek Brich 344a711
.SH SYNOPSIS
Radek Brich 344a711
.B tar
6a0e236
[\fIOPTION\fR...] [\fIFILE\fR]...
Radek Brich 344a711
.SH DESCRIPTION
6a0e236
GNU `tar' saves many files together into a single tape or disk archive, and can
6a0e236
restore individual files from the archive.
Radek Brich 344a711
.SH EXAMPLES
Radek Brich 344a711
.TP
6a0e236
tar \fB\-cf\fR archive.tar foo bar
6a0e236
# Create archive.tar from files foo and bar.
Radek Brich 344a711
.TP
6a0e236
tar \fB\-tvf\fR archive.tar
6a0e236
# List all files in archive.tar verbosely.
Radek Brich 344a711
.TP
6a0e236
tar \fB\-xf\fR archive.tar
6a0e236
# Extract all files from archive.tar.
6a0e236
.IP
6a0e236
.SH OPTIONS
6a0e236
.SH Main operation mode:
Radek Brich 344a711
.TP
6a0e236
\fB\-A\fR, \fB\-\-catenate\fR, \fB\-\-concatenate\fR
Radek Brich 344a711
append tar files to an archive
Radek Brich 344a711
.TP
6a0e236
\fB\-c\fR, \fB\-\-create\fR
Radek Brich 344a711
create a new archive
Radek Brich 344a711
.TP
6a0e236
\fB\-d\fR, \fB\-\-diff\fR, \fB\-\-compare\fR
Radek Brich 344a711
find differences between archive and file system
Radek Brich 344a711
.TP
6a0e236
\fB\-\-delete\fR
6a0e236
delete from the archive (not on mag tapes!)
6a0e236
.TP
6a0e236
\fB\-r\fR, \fB\-\-append\fR
Radek Brich 344a711
append files to the end of an archive
Radek Brich 344a711
.TP
6a0e236
\fB\-t\fR, \fB\-\-list\fR
Radek Brich 344a711
list the contents of an archive
Radek Brich 344a711
.TP
6a0e236
\fB\-\-test\-label\fR
6a0e236
test the archive volume label and exit
Radek Brich 344a711
.TP
6a0e236
\fB\-u\fR, \fB\-\-update\fR
6a0e236
only append files newer than copy in archive
Radek Brich 344a711
.TP
6a0e236
\fB\-x\fR, \fB\-\-extract\fR, \fB\-\-get\fR
6a0e236
extract files from an archive
6a0e236
.IP
6a0e236
6a0e236
.SH\fBCommon Options:\fR
Radek Brich 344a711
.TP
6a0e236
\fB-C\fR, \fB--directory=DIR\fR
Radek Brich 344a711
change to directory DIR
Radek Brich 344a711
.TP
6a0e236
\fB-f\fR, \fB--file=ARCHIVE\fR
6a0e236
use archive file or device ARCHIVE
6a0e236
.TP
6a0e236
\fB-j\fR, \fB--bzip2\fR
6a0e236
filter the archive through bzip2
Radek Brich 344a711
.TP
6a0e236
\fB -J\fR, \fB--xz\fR
6a0e236
filter the archive through xz
Radek Brich 344a711
.TP
6a0e236
\fB-p\fR, \fB--preserve-permissions\fR
6a0e236
extract  information  about  file permissions (default for superuser)
Radek Brich 344a711
.TP
6a0e236
\fB-v\fR, \fB--verbose\fR
Radek Brich 344a711
verbosely list files processed
Radek Brich 344a711
.TP
6a0e236
\fB-z\fR, \fB--gzip\fR
Radek Brich 344a711
filter the archive through gzip
6a0e236
6a0e236
.SH Operation modifiers:
Radek Brich 344a711
.TP
6a0e236
\fB\-\-check\-device\fR
6a0e236
check device numbers when creating incremental
6a0e236
archives (default)
Radek Brich 344a711
.TP
6a0e236
\fB\-g\fR, \fB\-\-listed\-incremental\fR=\fIFILE\fR
6a0e236
handle new GNU\-format incremental backup
Radek Brich 344a711
.TP
6a0e236
\fB\-G\fR, \fB\-\-incremental\fR
6a0e236
handle old GNU\-format incremental backup
Radek Brich 344a711
.TP
6a0e236
\fB\-\-ignore\-failed\-read\fR
6a0e236
do not exit with nonzero on unreadable files
Radek Brich 344a711
.TP
6a0e236
\fB\-n\fR, \fB\-\-seek\fR
6a0e236
archive is seekable
Radek Brich 344a711
.TP
6a0e236
\fB\-\-no\-check\-device\fR
6a0e236
do not check device numbers when creating
6a0e236
incremental archives
Radek Brich 344a711
.TP
6a0e236
\fB\-\-occurrence\fR[=\fINUMBER\fR]
6a0e236
process only the NUMBERth occurrence of each file
6a0e236
in the archive; this option is valid only in
6a0e236
conjunction with one of the subcommands \fB\-\-delete\fR,
6a0e236
\fB\-\-diff\fR, \fB\-\-extract\fR or \fB\-\-list\fR and when a list of
6a0e236
files is given either on the command line or via
6a0e236
the \fB\-T\fR option; NUMBER defaults to 1
Radek Brich 344a711
.TP
6a0e236
\fB\-\-sparse\-version\fR=\fIMAJOR[\fR.MINOR]
6a0e236
set version of the sparse format to use (implies
6a0e236
\fB\-\-sparse\fR)
Radek Brich 344a711
.TP
6a0e236
\fB\-S\fR, \fB\-\-sparse\fR
6a0e236
handle sparse files efficiently
6a0e236
.IP
6a0e236
.SH Overwrite control:
Radek Brich 344a711
.TP
6a0e236
\fB\-k\fR, \fB\-\-keep\-old\-files\fR
6a0e236
don't replace existing files when extracting
Radek Brich 344a711
.TP
6a0e236
\fB\-\-keep\-newer\-files\fR
6a0e236
don't replace existing files that are newer than
6a0e236
their archive copies
Radek Brich 344a711
.TP
6a0e236
\fB\-\-no\-overwrite\-dir\fR
6a0e236
preserve metadata of existing directories
Radek Brich 344a711
.TP
6a0e236
\fB\-\-overwrite\fR
6a0e236
overwrite existing files when extracting
Radek Brich 344a711
.TP
6a0e236
\fB\-\-overwrite\-dir\fR
6a0e236
overwrite metadata of existing directories when
6a0e236
extracting (default)
Radek Brich 344a711
.TP
6a0e236
\fB\-\-recursive\-unlink\fR
6a0e236
empty hierarchies prior to extracting directory
Radek Brich 344a711
.TP
6a0e236
\fB\-\-remove\-files\fR
6a0e236
remove files after adding them to the archive
Radek Brich 344a711
.TP
6a0e236
\fB\-U\fR, \fB\-\-unlink\-first\fR
6a0e236
remove each file prior to extracting over it
Radek Brich 344a711
.TP
6a0e236
\fB\-W\fR, \fB\-\-verify\fR
6a0e236
attempt to verify the archive after writing it
6a0e236
.IP
6a0e236
.SH Select output stream:
6a0e236
.HP
6a0e236
\fB\-\-ignore\-command\-error\fR ignore exit codes of children
6a0e236
.TP
6a0e236
\fB\-\-no\-ignore\-command\-error\fR
6a0e236
treat non\-zero exit codes of children as
6a0e236
error
Radek Brich 344a711
.TP
6a0e236
\fB\-O\fR, \fB\-\-to\-stdout\fR
6a0e236
extract files to standard output
Radek Brich 344a711
.TP
6a0e236
\fB\-\-to\-command\fR=\fICOMMAND\fR
6a0e236
pipe extracted files to another program
6a0e236
.IP
6a0e236
Handling of file attributes:
Radek Brich 344a711
.TP
6a0e236
\fB\-\-acls\fR
6a0e236
Save the ACLs to the archive
Radek Brich 344a711
.TP
6a0e236
\fB\-\-atime\-preserve\fR[=\fIMETHOD\fR]
6a0e236
preserve access times on dumped files, either
6a0e236
by restoring the times after reading
6a0e236
(METHOD='replace'; default) or by not setting the
6a0e236
times in the first place (METHOD='system')
Radek Brich 344a711
.TP
6a0e236
\fB\-\-delay\-directory\-restore\fR
6a0e236
delay setting modification times and
6a0e236
permissions of extracted directories until the end
6a0e236
of extraction
Radek Brich 344a711
.TP
6a0e236
\fB\-\-group\fR=\fINAME\fR
6a0e236
force NAME as group for added files
Radek Brich 344a711
.TP
6a0e236
\fB\-\-mode\fR=\fICHANGES\fR
6a0e236
force (symbolic) mode CHANGES for added files
Radek Brich 344a711
.TP
6a0e236
\fB\-\-mtime\fR=\fIDATE\-OR\-FILE\fR
6a0e236
set mtime for added files from DATE\-OR\-FILE
Radek Brich 344a711
.TP
6a0e236
\fB\-m\fR, \fB\-\-touch\fR
Radek Brich 344a711
don't extract file modified time
Radek Brich 344a711
.TP
6a0e236
\fB\-\-no\-acls\fR
6a0e236
Don't extract the ACLs from the archive
6a0e236
.TP
6a0e236
\fB\-\-no\-delay\-directory\-restore\fR
6a0e236
cancel the effect of \fB\-\-delay\-directory\-restore\fR
6a0e236
option
Radek Brich 344a711
.TP
6a0e236
\fB\-\-no\-same\-owner\fR
6a0e236
extract files as yourself
Radek Brich 344a711
.TP
6a0e236
\fB\-\-no\-same\-permissions\fR
6a0e236
apply the user's umask when extracting permissions
6a0e236
from the archive (default for ordinary users)
Radek Brich 344a711
.TP
6a0e236
\fB\-\-no\-selinux\fR
6a0e236
Don't extract the SELinux context from the archive
Radek Brich 344a711
.TP
6a0e236
\fB\-\-no\-xattrs\fR
6a0e236
Don't extract the user/root xattrs from the
6a0e236
archive
Radek Brich 344a711
.TP
6a0e236
\fB\-\-numeric\-owner\fR
6a0e236
always use numbers for user/group names
Radek Brich 344a711
.TP
6a0e236
\fB\-\-owner\fR=\fINAME\fR
6a0e236
force NAME as owner for added files
Radek Brich 344a711
.TP
6a0e236
\fB\-p\fR, \fB\-\-preserve\-permissions\fR, \fB\-\-same\-permissions\fR
6a0e236
extract information about file permissions
6a0e236
(default for superuser)
Radek Brich 344a711
.TP
6a0e236
\fB\-\-preserve\fR
6a0e236
same as both \fB\-p\fR and \fB\-s\fR
Radek Brich 344a711
.TP
6a0e236
\fB\-\-same\-owner\fR
6a0e236
try extracting files with the same ownership
Radek Brich 344a711
.TP
6a0e236
\fB\-s\fR, \fB\-\-preserve\-order\fR, \fB\-\-same\-order\fR
6a0e236
sort names to extract to match archive
Radek Brich 344a711
.TP
6a0e236
\fB\-\-selinux\fR
6a0e236
Save the SELinux context to the archive
Radek Brich 344a711
.TP
6a0e236
\fB\-\-xattrs\fR
6a0e236
Save the user/root xattrs to the archive
6a0e236
.IP
6a0e236
.SH Device selection and switching:
Radek Brich 344a711
.TP
6a0e236
\fB\-f\fR, \fB\-\-file\fR=\fIARCHIVE\fR
6a0e236
use archive file or device ARCHIVE
Radek Brich 344a711
.TP
6a0e236
\fB\-\-force\-local\fR
6a0e236
archive file is local even if it has a colon
Radek Brich 344a711
.TP
6a0e236
\fB\-F\fR, \fB\-\-info\-script\fR=\fINAME\fR, \fB\-\-new\-volume\-script\fR=\fINAME\fR
6a0e236
run script at end of each tape (implies \fB\-M\fR)
Radek Brich 344a711
.TP
6a0e236
\fB\-L\fR, \fB\-\-tape\-length\fR=\fINUMBER\fR
6a0e236
change tape after writing NUMBER x 1024 bytes
Radek Brich 344a711
.TP
6a0e236
\fB\-M\fR, \fB\-\-multi\-volume\fR
6a0e236
create/list/extract multi\-volume archive
Radek Brich 344a711
.TP
6a0e236
\fB\-\-rmt\-command\fR=\fICOMMAND\fR
6a0e236
use given rmt COMMAND instead of rmt
Radek Brich 344a711
.TP
6a0e236
\fB\-\-rsh\-command\fR=\fICOMMAND\fR
6a0e236
use remote COMMAND instead of rsh
Radek Brich 344a711
.TP
6a0e236
\fB\-\-volno\-file\fR=\fIFILE\fR
6a0e236
use/update the volume number in FILE
6a0e236
.IP
6a0e236
.SH Device blocking:
Radek Brich 344a711
.TP
6a0e236
\fB\-b\fR, \fB\-\-blocking\-factor\fR=\fIBLOCKS\fR
6a0e236
BLOCKS x 512 bytes per record
Radek Brich 344a711
.TP
6a0e236
\fB\-B\fR, \fB\-\-read\-full\-records\fR
6a0e236
reblock as we read (for 4.2BSD pipes)
Radek Brich 344a711
.TP
6a0e236
\fB\-i\fR, \fB\-\-ignore\-zeros\fR
6a0e236
ignore zeroed blocks in archive (means EOF)
Radek Brich 344a711
.TP
6a0e236
\fB\-\-record\-size\fR=\fINUMBER\fR
6a0e236
NUMBER of bytes per record, multiple of 512
6a0e236
.IP
6a0e236
.SH Archive format selection:
Radek Brich 344a711
.TP
6a0e236
\fB\-H\fR, \fB\-\-format\fR=\fIFORMAT\fR
6a0e236
create archive of the given format
6a0e236
.IP
6a0e236
FORMAT is one of the following:
Radek Brich 344a711
.TP
6a0e236
gnu
6a0e236
GNU tar 1.13.x format
Radek Brich 344a711
.TP
6a0e236
oldgnu
6a0e236
GNU format as per tar <= 1.12
Radek Brich 344a711
.TP
6a0e236
pax
6a0e236
POSIX 1003.1\-2001 (pax) format
Radek Brich 344a711
.TP
6a0e236
posix
6a0e236
same as pax
Radek Brich 344a711
.TP
6a0e236
ustar
6a0e236
POSIX 1003.1\-1988 (ustar) format
Radek Brich 344a711
.TP
6a0e236
v7
6a0e236
old V7 tar format
Radek Brich 344a711
.TP
6a0e236
\fB\-\-old\-archive\fR, \fB\-\-portability\fR
6a0e236
same as \fB\-\-format\fR=\fIv7\fR
Radek Brich 344a711
.TP
6a0e236
\fB\-\-pax\-option\fR=\fIkeyword[[\fR:]=value][,keyword[[:]=value]]...
6a0e236
control pax keywords
Radek Brich 344a711
.TP
6a0e236
\fB\-\-posix\fR
6a0e236
same as \fB\-\-format\fR=\fIposix\fR
Radek Brich 344a711
.TP
6a0e236
\fB\-V\fR, \fB\-\-label\fR=\fITEXT\fR
6a0e236
create archive with volume name TEXT; at
6a0e236
list/extract time, use TEXT as a globbing pattern
6a0e236
for volume name
6a0e236
.IP
6a0e236
\fBCompression options:\fR
Radek Brich 344a711
.TP
6a0e236
\fB\-a\fR, \fB\-\-auto\-compress\fR
6a0e236
use archive suffix to determine the compression
6a0e236
program
Radek Brich 344a711
.TP
6a0e236
\fB\-I\fR, \fB\-\-use\-compress\-program\fR=\fIPROG\fR
6a0e236
filter through PROG (must accept \fB\-d\fR)
Radek Brich 344a711
.TP
6a0e236
\fB\-j\fR, \fB\-\-bzip2\fR
6a0e236
filter the archive through bzip2
Radek Brich 344a711
.TP
6a0e236
\fB\-\-lzma\fR
6a0e236
filter the archive through lzma
Radek Brich 344a711
.TP
6a0e236
\fB\-\-no\-auto\-compress\fR
6a0e236
do not use archive suffix to determine the
6a0e236
compression program
Radek Brich 344a711
.TP
6a0e236
\fB\-z\fR, \fB\-\-gzip\fR, \fB\-\-gunzip\fR, \fB\-\-ungzip\fR
6a0e236
filter the archive through gzip
Radek Brich 344a711
.TP
6a0e236
\fB\-Z\fR, \fB\-\-compress\fR, \fB\-\-uncompress\fR
6a0e236
filter the archive through compress
Radek Brich 344a711
.TP
6a0e236
\fB\-J\fR, \fB\-\-xz\fR
6a0e236
filter the archive through xz
Radek Brich 344a711
.TP
6a0e236
\fB\-\-lzop\fR
6a0e236
filter the archive through lzop
6a0e236
.IP
6a0e236
.SH Local file selection:
Radek Brich 344a711
.TP
6a0e236
\fB\-\-add\-file\fR=\fIFILE\fR
6a0e236
add given FILE to the archive (useful if its name
6a0e236
starts with a dash)
Radek Brich 344a711
.TP
6a0e236
\fB\-\-backup\fR[=\fICONTROL\fR]
6a0e236
backup before removal, choose version CONTROL
Radek Brich 344a711
.TP
6a0e236
\fB\-C\fR, \fB\-\-directory\fR=\fIDIR\fR
6a0e236
change to directory DIR
Radek Brich 344a711
.TP
6a0e236
\fB\-\-exclude\fR=\fIPATTERN\fR
6a0e236
exclude files, given as a PATTERN
Radek Brich 344a711
.TP
6a0e236
\fB\-\-exclude\-caches\fR
6a0e236
exclude contents of directories containing
6a0e236
CACHEDIR.TAG, except for the tag file itself
6a0e236
.TP
6a0e236
\fB\-\-exclude\-caches\-all\fR
6a0e236
exclude directories containing CACHEDIR.TAG
6a0e236
.TP
6a0e236
\fB\-\-exclude\-caches\-under\fR exclude everything under directories containing
6a0e236
CACHEDIR.TAG
6a0e236
.TP
6a0e236
\fB\-\-exclude\-tag\fR=\fIFILE\fR
6a0e236
exclude contents of directories containing FILE,
6a0e236
except for FILE itself
6a0e236
.HP
6a0e236
\fB\-\-exclude\-tag\-all\fR=\fIFILE\fR exclude directories containing FILE
6a0e236
.TP
6a0e236
\fB\-\-exclude\-tag\-under\fR=\fIFILE\fR
6a0e236
exclude everything under directories
6a0e236
containing FILE
6a0e236
.TP
6a0e236
\fB\-\-exclude\-vcs\fR
6a0e236
exclude version control system directories
6a0e236
.TP
6a0e236
\fB\-h\fR, \fB\-\-dereference\fR
6a0e236
follow symlinks; archive and dump the files they
6a0e236
point to
6a0e236
.TP
6a0e236
\fB\-\-hard\-dereference\fR
6a0e236
follow hard links; archive and dump the files they
6a0e236
refer to
6a0e236
.TP
6a0e236
\fB\-K\fR, \fB\-\-starting\-file\fR=\fIMEMBER\-NAME\fR
6a0e236
begin at member MEMBER\-NAME in the archive
6a0e236
.TP
6a0e236
\fB\-\-newer\-mtime\fR=\fIDATE\fR
6a0e236
compare date and time when data changed only
Radek Brich 344a711
.TP
6a0e236
\fB\-\-no\-null\fR
6a0e236
disable the effect of the previous \fB\-\-null\fR option
Radek Brich 344a711
.TP
6a0e236
\fB\-\-no\-recursion\fR
6a0e236
avoid descending automatically in directories
Radek Brich 344a711
.TP
6a0e236
\fB\-\-no\-unquote\fR
6a0e236
do not unquote filenames read with \fB\-T\fR
6a0e236
.HP
6a0e236
\fB\-\-null\fR                 \fB\-T\fR reads null\-terminated names, disable \fB\-C\fR
Radek Brich 344a711
.TP
6a0e236
\fB\-N\fR, \fB\-\-newer\fR=\fIDATE\-OR\-FILE\fR, \fB\-\-after\-date\fR=\fIDATE\-OR\-FILE\fR
6a0e236
only store files newer than DATE\-OR\-FILE
6a0e236
.TP
6a0e236
\fB\-\-one\-file\-system\fR
6a0e236
stay in local file system when creating archive
6a0e236
.TP
6a0e236
\fB\-P\fR, \fB\-\-absolute\-names\fR
6a0e236
don't strip leading `/'s from file names
6a0e236
.TP
6a0e236
\fB\-\-recursion\fR
6a0e236
recurse into directories (default)
6a0e236
.TP
6a0e236
\fB\-\-suffix\fR=\fISTRING\fR
6a0e236
backup before removal, override usual suffix ('~'
6a0e236
unless overridden by environment variable
6a0e236
SIMPLE_BACKUP_SUFFIX)
6a0e236
.TP
6a0e236
\fB\-T\fR, \fB\-\-files\-from\fR=\fIFILE\fR
6a0e236
get names to extract or create from FILE
6a0e236
.TP
6a0e236
\fB\-\-unquote\fR
6a0e236
unquote filenames read with \fB\-T\fR (default)
6a0e236
.TP
6a0e236
\fB\-X\fR, \fB\-\-exclude\-from\fR=\fIFILE\fR
6a0e236
exclude patterns listed in FILE
6a0e236
.IP
6a0e236
.SH File name transformations:
6a0e236
.TP
6a0e236
\fB\-\-strip\-components\fR=\fINUMBER\fR
6a0e236
strip NUMBER leading components from file
6a0e236
names on extraction
6a0e236
.TP
6a0e236
\fB\-\-transform\fR=\fIEXPRESSION\fR, \fB\-\-xform\fR=\fIEXPRESSION\fR
6a0e236
use sed replace EXPRESSION to transform file
6a0e236
names
6a0e236
.IP
6a0e236
File name matching options (affect both exclude and include patterns):
6a0e236
.TP
6a0e236
\fB\-\-anchored\fR
6a0e236
patterns match file name start
6a0e236
.TP
6a0e236
\fB\-\-ignore\-case\fR
6a0e236
ignore case
6a0e236
.TP
6a0e236
\fB\-\-no\-anchored\fR
6a0e236
patterns match after any `/' (default for
6a0e236
exclusion)
6a0e236
.TP
6a0e236
\fB\-\-no\-ignore\-case\fR
6a0e236
case sensitive matching (default)
6a0e236
.TP
6a0e236
\fB\-\-no\-wildcards\fR
6a0e236
verbatim string matching
6a0e236
.TP
6a0e236
\fB\-\-no\-wildcards\-match\-slash\fR
6a0e236
wildcards do not match `/'
6a0e236
.TP
6a0e236
\fB\-\-wildcards\fR
6a0e236
use wildcards (default)
6a0e236
.TP
6a0e236
\fB\-\-wildcards\-match\-slash\fR
6a0e236
wildcards match `/' (default for exclusion)
6a0e236
.IP
6a0e236
Informative output:
6a0e236
.TP
6a0e236
\fB\-\-checkpoint\fR[=\fINUMBER\fR]
6a0e236
display progress messages every NUMBERth record
6a0e236
(default 10)
6a0e236
.TP
6a0e236
\fB\-\-checkpoint\-action\fR=\fIACTION\fR
6a0e236
execute ACTION on each checkpoint
6a0e236
.TP
6a0e236
\fB\-\-index\-file\fR=\fIFILE\fR
6a0e236
send verbose output to FILE
6a0e236
.TP
6a0e236
\fB\-l\fR, \fB\-\-check\-links\fR
6a0e236
print a message if not all links are dumped
6a0e236
.TP
6a0e236
\fB\-\-no\-quote\-chars\fR=\fISTRING\fR
6a0e236
disable quoting for characters from STRING
6a0e236
.TP
6a0e236
\fB\-\-quote\-chars\fR=\fISTRING\fR
6a0e236
additionally quote characters from STRING
6a0e236
.TP
6a0e236
\fB\-\-quoting\-style\fR=\fISTYLE\fR
6a0e236
set name quoting style; see below for valid STYLE
6a0e236
values
6a0e236
.TP
6a0e236
\fB\-R\fR, \fB\-\-block\-number\fR
6a0e236
show block number within archive with each
6a0e236
message
6a0e236
.TP
6a0e236
\fB\-\-show\-defaults\fR
6a0e236
show tar defaults
6a0e236
.TP
6a0e236
\fB\-\-show\-omitted\-dirs\fR
6a0e236
when listing or extracting, list each directory
6a0e236
that does not match search criteria
6a0e236
.TP
6a0e236
\fB\-\-show\-transformed\-names\fR, \fB\-\-show\-stored\-names\fR
6a0e236
show file or archive names after transformation
6a0e236
.TP
6a0e236
\fB\-\-totals\fR[=\fISIGNAL\fR]
6a0e236
print total bytes after processing the archive;
6a0e236
with an argument \- print total bytes when this
6a0e236
SIGNAL is delivered; Allowed signals are: SIGHUP,
6a0e236
SIGQUIT, SIGINT, SIGUSR1 and SIGUSR2; the names
6a0e236
without SIG prefix are also accepted
6a0e236
.TP
6a0e236
\fB\-\-utc\fR
6a0e236
print file modification dates in UTC
6a0e236
.TP
6a0e236
\fB\-v\fR, \fB\-\-verbose\fR
6a0e236
verbosely list files processed
6a0e236
.TP
6a0e236
\fB\-w\fR, \fB\-\-interactive\fR, \fB\-\-confirmation\fR
Radek Brich 344a711
ask for confirmation for every action
6a0e236
.IP
6a0e236
6a0e236
.SH Compatibility options:
Radek Brich 344a711
.TP
6a0e236
\fB\-o\fR
6a0e236
when creating, same as \fB\-\-old\-archive\fR; when
6a0e236
extracting, same as \fB\-\-no\-same\-owner\fR
6a0e236
.IP
6a0e236
6a0e236
.SH Other options:
Radek Brich 344a711
.TP
6a0e236
\-?, \fB\-\-help\fR
6a0e236
give this help list
Radek Brich 344a711
.TP
6a0e236
\fB\-\-restrict\fR
6a0e236
disable use of some potentially harmful options
Radek Brich 344a711
.TP
6a0e236
\fB\-\-usage\fR
6a0e236
give a short usage message
Radek Brich 344a711
.TP
6a0e236
\fB\-\-version\fR
6a0e236
print program version
6a0e236
.PP
6a0e236
.PP
6a0e236
Mandatory or optional arguments to long options are also mandatory or optional
6a0e236
for any corresponding short options.
6a0e236
.PP
6a0e236
The backup suffix is `~', unless set with \fB\-\-suffix\fR or SIMPLE_BACKUP_SUFFIX.
6a0e236
The version control may be set with \fB\-\-backup\fR or VERSION_CONTROL, values are:
Radek Brich 344a711
.TP
6a0e236
none, off
6a0e236
never make backups
Radek Brich 344a711
.TP
6a0e236
t, numbered
6a0e236
make numbered backups
6a0e236
.TP
6a0e236
nil, existing
6a0e236
numbered if numbered backups exist, simple otherwise
Radek Brich 344a711
.TP
6a0e236
never, simple
6a0e236
always make simple backups
6a0e236
.PP
6a0e236
Valid arguments for \fB\-\-quoting\-style\fR options are:
6a0e236
.IP
6a0e236
literal
6a0e236
shell
6a0e236
shell\-always
6a0e236
c
6a0e236
c\-maybe
6a0e236
escape
6a0e236
locale
6a0e236
clocale
6a0e236
.PP
6a0e236
.SH DEFAULTS
6a0e236
*This* tar defaults to:
6a0e236
\fB\-\-format\fR=\fIgnu\fR \fB\-f\-\fR \fB\-b20\fR \fB\-\-quoting\-style\fR=\fIescape\fR \fB\-\-rmt\-command=\fR/sbin/rmt
6a0e236
\fB\-\-rsh\-command=\fR/usr/bin/rsh
6a0e236
.SH AUTHOR
6a0e236
Written by John Gilmore and Jay Fenlason.
Radek Brich 344a711
.SH "REPORTING BUGS"
6a0e236
Report bugs to <bug\-tar@gnu.org>.
6a0e236
.SH COPYRIGHT
6a0e236
Copyright \(co 2009 Free Software Foundation, Inc.
6a0e236
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
6a0e236
.br
6a0e236
This is free software: you are free to change and redistribute it.
6a0e236
There is NO WARRANTY, to the extent permitted by law.
Radek Brich 344a711
.SH "SEE ALSO"
Radek Brich 344a711
The full documentation for
Radek Brich 344a711
.B tar
Radek Brich 344a711
is maintained as a Texinfo manual.  If the
Radek Brich 344a711
.B info
Radek Brich 344a711
and
Radek Brich 344a711
.B tar
Radek Brich 344a711
programs are properly installed at your site, the command
Radek Brich 344a711
.IP
Radek Brich 344a711
.B info tar
Radek Brich 344a711
.PP
Radek Brich 344a711
should give you access to the complete manual.