CATFILES


Concatenates a pair of packetized files into a single file. Specifically, this tool is designed to allow the user to reassemble the good portions of a troubled data file which has been divided by the file division tool, DIVFILE.

Format: catfiles input_file_list -o output_file [-s segment_break]

Context

Inputs

Outputs

Constraints

Parameters

INPUT_FILE_LIST

OUTPUT_FILE

SEGMENT_BREAK

Qualifiers

None

See_also

DIVFILE Divide a single packetized file.

MODPKT A binary editor to modify individual mnemonic values in an EDT file.

MOVE_REC Move a range of packets within a packetized file (IN PLACE).

PKX_HEADERS List the headers of a range of packets.

Examples

It is helpful to look at these examples in conjunction with the example given for the DIVFILE command.

In the DIVFILE example a packetized file was split into three pieces, isolating the third packet of the file. Assuming this packet should have been the first packet in the dataset, we can recombine the pieces with the following commands:

$ catfiles z.pk2 z.pk1 -o z.tmp

This command takes the first two files and concatenates them in order, putting the 3rd packet at the beginning of the file.

$ catfiles z.tmp z.pk3 -o z.pkx

This command then takes the previous output, and appends the rest of the packets to produce a file (z.pkx) with all the packetized data in a different order.