xref: /illumos-gate/usr/src/man/man1/tcopy.1 (revision 4f364e7c95ee7fd9d5bbeddc1940e92405bb0e72)
te
Copyright (c) 1985 Regents of the University
of California. All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.
Copyright (c) 2000, Sun Microsystems, Inc.
All Rights Reserved
TCOPY 1 "Mar 10, 2000"
NAME
tcopy - copy a magnetic tape
SYNOPSIS

tcopy source [destination]
DESCRIPTION

The tcopy utility copies the magnetic tape mounted on the tape drive specified by the source argument. The only assumption made about the contents of a tape is that there are two tape marks at the end.

When only a source drive is specified, tcopy scans the tape, and displays information about the sizes of records and tape files. If a destination is specified, tcopy makes a copies the source tape onto the destination tape, with blocking preserved. As it copies, tcopy produces the same output as it does when only scanning a tape.

The tcopy utility requires the use of Berkeley-compatible device names. For example,

example% tcopy /dev/rmt/1b /dev/rmt/2b
SEE ALSO

mt(1), ioctl(2), attributes(5)

NOTES

tcopy will only run on systems supporting an associated set of ioctl(2) requests.