Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tapedump(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sysadmsh(ADM)

dd(C)

hd(C)

od(C)

tape(C)


 tapedump(C)                   06 January 1993                    tapedump(C)


 Name

    tapedump - dump magnetic tape to output file

 Syntax

    tapedump [ -a | -e ] [ -o | -h ] [ -btsnnum ] tapedevice outputfile

 Description

    The tapedump command 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 block-
    size, 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

    tapedevice    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.

    -s num         Skip num input records before starting dump.

    -t num         Specify which tape file to begin dump from, where num is
                   the tape file sequence number.

    -b num[bkw]    Set both input and output block size.  num is the number
                   of blocks, which can include b, k, or w to indicate the
                   block size, which correspond to 1024-, 512-, or 2-byte
                   blocks, respectively.  If block size is not specified, b
                   is assumed.

    -n num         Specify dump of only num blocks.

    outputfile    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)

 Note

    The output file may be specified to be another tape device.

 Value added

    tapedump is an extension of AT&T System V provided by The Santa Cruz
    Operation, Inc.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026