xref: /titanic_50/usr/src/man/man1/tcopy.1 (revision 6b817808e8a80c4e9c93850856065502cc48f7ad)
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 "10 Mar 2000" "SunOS 5.11" "User Commands"
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.