TAPEDUMP(C) XENIX System V TAPEDUMP(C)
Name
tapedump - dumps magnetic tape to output file.
Syntax
tapedump [-a|-e] [-o|-h] [-btsnnum] tape_device output_file
Description
tapedump dumps the contents of magnetic tapes according to
the options specified. Options include conversion from
input format to user specified output format, specification
of input and output blocksize, and the ability to specify
that the dump begin at a specific start block on the tape
and proceed for a specified number of blocks.
Options
Option Value
tape_device The input tape device.
-a Convert from EBCDIC input to ASCII output.
-e Convert from ASCII input to EBCDIC output.
-o Display tape output in octal format.
-h Display tape output in hexadecimal format.
-b num skips n input records before starting dump.
-t num Specify which tape file to begin dump from,
where num is the tape file sequence number.
-s num Specify tape block address from which to start dump.
-n num Specify dump of only num blocks.
output_file The output filename; standard output is the default.
Examples
This command reads a tape starting at block 400 and outputs
the results in hexadecimal format into a user specified file
called /tmp/hex.dump:
tapedump-b400 -h /dev/rct0 /tmp/hexdump
This command reads an EBCDIC tape and converts the standard
output to ASCII:
tapedump-a /dev/rct0
See Also
sysadmsh(ADM), dd(C), hd(C), od(C), tape(C)
Page 1 (printed 2/7/91)
TAPEDUMP(C) XENIX System V TAPEDUMP(C)
Notes
The output file may be specified to be another tape device.
Page 2 (printed 2/7/91)