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 drwxr-xr-x 1001/10 0 Oct 7 08:18 2003 reports/ -r--r--r-- 1001/10 382 Oct 7 08:18 2003 reports/reportA -r--r--r-- 1001/10 382 Oct 7 08:18 2003 reports/reportB -r--r--r-- 1001/10 382 Oct 7 08:18 2003 reports/reportC |