N
N
nerudo2013-06-23 17:09:52
Windows
nerudo, 2013-06-23 17:09:52

How to merge several files into one without unnecessary copying?

There are several large files, I want to "glue" them into one big one. The original files may not be saved. Tell me, are there any standard tools in the Windows world? Or a third party utility? Or at least how to write it by hand, for example, in python?
I don't like the head-on 'copy a + b c' option, because will create a copy, spending extra time and space on this procedure.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vladislav, 2013-06-23
@click0

Try HJ-Split .

V
Vyacheslav Golovanov, 2013-06-23
@SLY_G

You need to know the materiel ...
copy /b file1 + file2 + file3 result

I
Ingtar, 2013-06-23
@Ingtar

What kind of files is that? .. Text, pictures? ..

R
Ramzeska, 2013-06-23
@Ramzeska

cat file2 >> file1
doesn't work? On Windows, streams also work, I don’t remember how cat is done, though
upd: stackoverflow.com/questions/60244/is-there-replacement-for-cat-on-windows

N
nochkin, 2013-06-23
@nochkin

And how is it “do not save the original files”, but you need to glue large existing files together? Do the files exist or not yet?
If there is, then through append (>> or +). If not, then the program that creates them must append when it opens a file of the same name.
In python, this is open('filename.bin','aw')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question