MERGE


Author: Dan Mares, dm @ maresware . com
Portions Copyright © 1998-2023 by Dan Mares
Phone: 678-427-3275

All programs are command line programs.
MUST be run within a command window as administrator.


top

Purpose

Merge will "merge" files which have filenames sequenced (ie: .001, .002 etc) into a single larger file.

It is most often used to merge segments of a larger file that may have been split into smaller pieces for analysis.


top

Operation

Very simple put, you have a sequence of smaller files with sequenced extensions: (.000, .001, .002 etc.) Hopefully the sequence numbers are the correct sequence for merging the individual files back to a single large file.

Then you run the program and "merge" or combine all these smaller files into a single larger file. Not much else to say about its operation. The final operation is similar to the DOS copy command of this format:
copy /b file.000 + file.001 + file.002 big_final_file.txt

The main difference is, that if you have a lot of files in the sequence, the copy command gets unmanageable.


top

Options

-f + basefilename.*:     to merge these sequenced files into the single output file. The sequence can start either with .000 or .001.

-o + outputfilename:     merge the sequences to this larger file.


top

Command Line

C:>merge    -f file_segments.*   -o final_merged_filensme

top

Related Programs

chsize

top