mt — stdin stdout - file -- opt --help --version
mt [-fdevice
]command
The mt
(magnetic tape)
command performs simple operations on a tape drive, such as
rewinding, skipping forward and backward, and retensioning. Some
common operations are:
|
Show the status of the drive. |
|
Rewind the tape. |
|
Retension the tape. |
|
Erase the tape. |
|
Take the tape drive offline. |
|
Move forward on the tape to the end of data. |
For example:
$ mt -f /dev/tape rewind
You can also move through the tape, file by file or record by
record, but often you’ll use a tape reading/writing program for
that, such as tar
or restore
.
3.149.254.35