xref: /original-bsd/usr.bin/tcopy/tcopy.1 (revision c3e32dec)
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.1 (Berkeley) 06/06/93
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 cv
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.El
51.Sh SEE ALSO
52.Xr mtio 4
53.Sh HISTORY
54The
55.Nm
56command appeared in
57.Bx 4.3 .
58