Name
mt — stdin stdout - file -- opt --help --version
Synopsis
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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access