source: trunk/minix/man/man1/tar.1@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.3 KB
Line 
1.TH TAR 1
2.SH NAME
3tar \- tape archiver
4.SH SYNOPSIS
5\fBtar\fR [\fBFcotvxp\fR]\fR [\fBf\fR] \fItarfile \fIfile ...\fR
6.br
7.de FL
8.TP
9\\fB\\$1\\fR
10\\$2
11..
12.de EX
13.TP 20
14\\fB\\$1\\fR
15# \\$2
16..
17.SH OPTIONS
18.FL "F" "Force tar to continue after an error"
19.FL "c" "Create a new archive; add named files"
20.FL "o" "Set uid/gid to original values on extraction"
21.FL "f" "Next argument is name of tarfile"
22.FL "t" "Print a table listing the archive's contents"
23.FL "v" "Verbose mode-tell what is going on as it happens"
24.FL "x" "The named files are extracted from the archive"
25.FL "p" "Restore file modes, ignore creation mask"
26.FL "D" "Directory only, do not recurse"
27.SH EXAMPLES
28.EX "tar c /dev/fd1 ." "Back up current directory to \fI/dev/fd1\fR"
29.EX "tar xv /dev/fd1 file1 file2" "Extract two files from the archive"
30.EX "tar cf \- . | (cd dest; tar xf \-)" "Copy current directory to \fIdest\fR"
31.SH DESCRIPTION
32.PP
33\fITar\fR is a POSIX-compatible archiver, except that it does not use tape.
34It's primary advantage over
35.I ar
36is that the
37.I tar
38format is somewhat more standardized than the
39.I ar
40format, making it theoretically possible to transport
41\s-1MINIX 3\s-1
42files to another computer, but do not bet on it.
43If the target machine runs
44\&MS-DOS ,
45try
46.I doswrite .
47.SH "SEE ALSO"
48.BR compress (1),
49.BR vol (1).
50.\" minor correction ASW 2005-01-15
Note: See TracBrowser for help on using the repository browser.