xref: /original-bsd/usr.bin/tcopy/tcopy.1 (revision 7e5c8007)
1.\" Copyright (c) 1985, 1990, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)tcopy.1	8.2 (Berkeley) 04/17/94
7.\"
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
16.Op Fl cvx
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
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.
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.
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 .
56.El
57.Sh SEE ALSO
58.Xr mtio 4
59.Sh HISTORY
60The
61.Nm
62command appeared in
63.Bx 4.3 .
64