Insert a tape into the tape drive.
$ tar tvf /dev/rmt/n |
t |
Lists the table of contents for the files on the tape. |
v |
Used with the t option, and provides detailed information about the files on the tape. |
f /dev/rmt/n |
Indicates the tape device. |
The following example shows a listing of files on the tape in drive 0.
$ tar tvf /dev/rmt/0 drwx--x--x 0/1 0 Jul 14 09:24 2001 reports/ -rw------t 0/1 30000 Jul 14 09:23 2001 reports/reportA -rw------t 0/1 31000 Jul 14 09:24 2001 reports/reportB -rw------t 0/1 32000 Jul 14 09:24 2001 reports/reportC |