2013-07-18 15:15:35 +00:00
|
|
|
.TH TAR 1 sbase\-VERSION
|
|
|
|
.SH NAME
|
|
|
|
tar \- create, list or extract a tape archive
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B tar
|
|
|
|
.RB [ \-f
|
|
|
|
.IR tarfile]
|
|
|
|
.RB [ \-C
|
|
|
|
.IR dir ]
|
|
|
|
.RB [ - ] x | t
|
|
|
|
|
|
|
|
.B tar
|
|
|
|
.RB [ \-f
|
|
|
|
.IR tarfile]
|
|
|
|
.RB [ \-C
|
|
|
|
.IR dir ]
|
|
|
|
.RB [ - ] c
|
|
|
|
.I dir
|
|
|
|
|
|
|
|
.B tar
|
|
|
|
.RB [ \-C
|
|
|
|
.IR dir ]
|
|
|
|
.B cf
|
|
|
|
.I tarfile
|
|
|
|
.I dir
|
|
|
|
|
|
|
|
.B tar
|
|
|
|
.RB [ \-C
|
|
|
|
.IR dir ]
|
2013-07-20 05:27:42 +00:00
|
|
|
.B x|tf
|
2013-07-18 15:15:35 +00:00
|
|
|
.I tarfile
|
|
|
|
|
|
|
|
.SH DESCRIPTION
|
2013-07-20 05:27:42 +00:00
|
|
|
.B tar
|
2013-07-18 15:15:35 +00:00
|
|
|
is the standard file archiver. Generally the archives
|
|
|
|
created with it are further compressed.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
.B x
|
|
|
|
extract tarball from stdin
|
|
|
|
.TP
|
|
|
|
.B t
|
|
|
|
list all files in tarball from stdin
|
|
|
|
.TP
|
2013-07-20 05:27:42 +00:00
|
|
|
.BI c\ path
|
|
|
|
creates tarball from
|
|
|
|
.I path
|
2013-07-18 15:15:35 +00:00
|
|
|
and prints it to stdout
|
|
|
|
.TP
|
|
|
|
.BI f\ tarfile
|
|
|
|
Make
|
|
|
|
.I tarfile
|
|
|
|
be the archive, rather than stdin or stdout.
|
|
|
|
.TP
|
|
|
|
.BI C\ dir
|
|
|
|
Change dierctory to
|
|
|
|
.I dir
|
|
|
|
before beginning.
|
|
|
|
.SH SEE ALSO
|
|
|
|
.IR ar (1)
|
|
|
|
.IR gzip (1)
|
|
|
|
.IR bzip2 (1)
|