DOSTP(1) — UNIX Programmer’s Manual
NAME
dostp − manipulate DOS format magtape
SYNOPSIS
dostp flags [PPN] [filename] [filename2] ...
DESCRIPTION
The available flags are:
r replace filename (from directory to tape)
x extract filename from tape to directory
t table of contents
(The ’r’, ’x’, and ’t’ flags are mutually exclusive .)
m magtape
v verbose
[0-7] unit number of tape unit (always zero)
c convert between RSTS and UNIX newline and CR LF
a all files required!
p indicates that next two arguments are the PPN (these
are seperated by a blank).
q tape is blocked 8 blocks per physical records (e.g.,
the default backup on RSTS).
EXAMPLE
To extract all the files from a mounted tape under PPN [13, 7], the following command is used:
dostp xmapq 13 7
BUGS
If you use the p option, dostp thinks there are two more files than you specified. As a result, instead of stopping the search after finding all specified files, it will continue searching up to the tape mark.
The ’a ’ flag shouldn’t really be necessary.
4th Berkeley Distribution — %W%%Q%%Y%