break out special local mail processing (e.g., mapping to the
[unix-history] / usr / src / usr.bin / tcopy / tcopy.1
CommitLineData
725a8fbf
KB
1.\" Copyright (c) 1985, 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
c238008e 3.\"
fc6d8af5 4.\" %sccs.include.redist.man%
5f1166a1 5.\"
2ace6764 6.\" @(#)tcopy.1 8.2 (Berkeley) %G%
c238008e 7.\"
fc6d8af5
CL
8.Dd
9.Dt TCOPY 1
10.Os BSD 4.3
11.Sh NAME
12.Nm tcopy
13.Nd copy and/or verify mag tapes
14.Sh SYNOPSIS
15.Nm tcopy
2ace6764 16.Op Fl cvx
fc6d8af5
CL
17.Op Fl s Ar maxblk
18.Oo Ar src Op Ar dest
19.Oc
20.Sh DESCRIPTION
21.Nm Tcopy
22is designed to copy magnetic tapes. The only assumption made
23about the tape is that there are two tape marks at the end.
24.Nm Tcopy
25with only a source tape
26.Pf ( Ar rmt0
27by default) specified will print
5f1166a1
KB
28information about the sizes of records and tape files. If a destination
29is specified a copy will be made of the source tape. The blocking on the
30destination tape will be identical to that used on the source tape. Copying
31a tape will yield the same output as if just printing the sizes.
fc6d8af5
CL
32.Pp
33Options:
34.Bl -tag -width s_maxblk
35.It Fl c
36Copy
37.Ar src
38to
39.Ar dest
40and then verify that the two tapes are identical.
41.It Fl s Ar maxblk
42Specify a maximum block size,
43.Ar maxblk .
44.It Fl v
45Given the two tapes,
46.ar src
47and
48.Ar dest
49verify that they are identical.
2ace6764
KM
50.It Fl x
51Output all informational messages to the standard error.
52This option is useful when
53.Ar dest
54is
55.Pa /dev/stdout .
fc6d8af5
CL
56.El
57.Sh SEE ALSO
58.Xr mtio 4
59.Sh HISTORY
60The
61.Nm
62command appeared in
63.Bx 4.3 .