xref: /csrg-svn/usr.bin/tcopy/tcopy.1 (revision 48535)
1*48535Scael.\" Copyright (c) 1985, 1990, 1991 Regents of the University of California.
234180Sbostic.\" All rights reserved.
325593Sbloom.\"
4*48535Scael.\" %sccs.include.redist.man%
525593Sbloom.\"
6*48535Scael.\"     @(#)tcopy.1	6.4 (Berkeley) 04/22/91
734180Sbostic.\"
8*48535Scael.Dd
9*48535Scael.Dt TCOPY 1
10*48535Scael.Os BSD 4.3
11*48535Scael.Sh NAME
12*48535Scael.Nm tcopy
13*48535Scael.Nd copy and/or verify mag tapes
14*48535Scael.Sh SYNOPSIS
15*48535Scael.Nm tcopy
16*48535Scael.Op Fl cv
17*48535Scael.Op Fl s Ar maxblk
18*48535Scael.Oo Ar src Op Ar dest
19*48535Scael.Oc
20*48535Scael.Sh DESCRIPTION
21*48535Scael.Nm Tcopy
22*48535Scaelis designed to copy magnetic tapes.  The only assumption made
23*48535Scaelabout the tape is that there are two tape marks at the end.
24*48535Scael.Nm Tcopy
25*48535Scaelwith only a source tape
26*48535Scael.Pf ( Ar rmt0
27*48535Scaelby default) specified will print
2834180Sbosticinformation about the sizes of records and tape files.  If a destination
2934180Sbosticis specified a copy will be made of the source tape.  The blocking on the
3034180Sbosticdestination tape will be identical to that used on the source tape.  Copying
3134180Sbostica tape will yield the same output as if just printing the sizes.
32*48535Scael.Pp
33*48535ScaelOptions:
34*48535Scael.Bl -tag -width s_maxblk
35*48535Scael.It Fl c
36*48535ScaelCopy
37*48535Scael.Ar src
38*48535Scaelto
39*48535Scael.Ar dest
40*48535Scaeland then verify that the two tapes are identical.
41*48535Scael.It Fl s Ar maxblk
42*48535ScaelSpecify a maximum block size,
43*48535Scael.Ar maxblk .
44*48535Scael.It Fl v
45*48535ScaelGiven the two tapes,
46*48535Scael.ar src
47*48535Scaeland
48*48535Scael.Ar dest
49*48535Scaelverify that they are identical.
50*48535Scael.El
51*48535Scael.Sh SEE ALSO
52*48535Scael.Xr mtio 4
53*48535Scael.Sh HISTORY
54*48535ScaelThe
55*48535Scael.Nm
56*48535Scaelcommand appeared in
57*48535Scael.Bx 4.3 .
58