xref: /csrg-svn/usr.bin/tcopy/tcopy.1 (revision 62301)
1*62301Sbostic.\" Copyright (c) 1985, 1990, 1991, 1993
2*62301Sbostic.\"	The Regents of the University of California.  All rights reserved.
325593Sbloom.\"
448535Scael.\" %sccs.include.redist.man%
525593Sbloom.\"
6*62301Sbostic.\"     @(#)tcopy.1	8.1 (Berkeley) 06/06/93
734180Sbostic.\"
848535Scael.Dd
948535Scael.Dt TCOPY 1
1048535Scael.Os BSD 4.3
1148535Scael.Sh NAME
1248535Scael.Nm tcopy
1348535Scael.Nd copy and/or verify mag tapes
1448535Scael.Sh SYNOPSIS
1548535Scael.Nm tcopy
1648535Scael.Op Fl cv
1748535Scael.Op Fl s Ar maxblk
1848535Scael.Oo Ar src Op Ar dest
1948535Scael.Oc
2048535Scael.Sh DESCRIPTION
2148535Scael.Nm Tcopy
2248535Scaelis designed to copy magnetic tapes.  The only assumption made
2348535Scaelabout the tape is that there are two tape marks at the end.
2448535Scael.Nm Tcopy
2548535Scaelwith only a source tape
2648535Scael.Pf ( Ar rmt0
2748535Scaelby 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.
3248535Scael.Pp
3348535ScaelOptions:
3448535Scael.Bl -tag -width s_maxblk
3548535Scael.It Fl c
3648535ScaelCopy
3748535Scael.Ar src
3848535Scaelto
3948535Scael.Ar dest
4048535Scaeland then verify that the two tapes are identical.
4148535Scael.It Fl s Ar maxblk
4248535ScaelSpecify a maximum block size,
4348535Scael.Ar maxblk .
4448535Scael.It Fl v
4548535ScaelGiven the two tapes,
4648535Scael.ar src
4748535Scaeland
4848535Scael.Ar dest
4948535Scaelverify that they are identical.
5048535Scael.El
5148535Scael.Sh SEE ALSO
5248535Scael.Xr mtio 4
5348535Scael.Sh HISTORY
5448535ScaelThe
5548535Scael.Nm
5648535Scaelcommand appeared in
5748535Scael.Bx 4.3 .
58