twisty on 17/3/2004 at 12:42
I've split a 4 gb file up in Linux and need to concatenate all the file parts once I move it all into Windows in a couple of days time. So that I don't waste any time when I have to reassemble the files in Windows, does anyone know what the best way of doing this is? I would presume that the dos COPY command wouldn't work.
ejsmith on 17/3/2004 at 15:07
There's a specific Linux command that will do what you're wanting. It's been so long since I played with Linux, that I forget. And it's something like exactly what you're saying. Probably some short form of concatenate, merge, or otherwise.
I don't have my Linux bible handy, just at the moment. Sorry.
twisty on 17/3/2004 at 23:00
Quote:
Originally posted by ejsmith There's a specific Linux command that will do what you're wanting. It's been so long since I played with Linux, that I forget. And it's something like exactly what you're saying. Probably some short form of concatenate, merge, or otherwise.
I don't have my Linux bible handy, just at the moment. Sorry.
You've misunderstood me. I already know how to do that in Linux using "cat". The thing is, I have to reassemble it in <b>Windows</b>, not Linux.
Quote:
Found this with a quick google...
Thanks dvrabel. I'll try using COPY first I think. If that doesn't work then I guess I can try one of those emulators. The main problem is that I don't have room for a dual boot system on that machine and I cant serve the whole file to it in one chunk as the server has a limit of 4 gb. The file itself is only a few hundred megs over that limit.
mrpeabody on 20/3/2004 at 05:50
Cygwin doesn't require dual-booting; it's a Linux-like environment under Windows. So if you had that installed, you could just use cat or dd.
But you don't need to install Cygwin for this. The DOS copy command is what you want.
Code:
Copies one or more files to another location.
COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
[+ source [/A | /B] [+ ...]] [destination [/A | /B]]
source Specifies the file or files to be copied.
/A Indicates an ASCII text file.
/B Indicates a binary file.
/D Allow the destination file to be created decrypted
destination Specifies the directory and/or filename for the new file(s).
/V Verifies that new files are written correctly.
/N Uses short filename, if available, when copying a file with a
non-8dot3 name.
/Y Suppresses prompting to confirm you want to overwrite an
existing destination file.
/-Y Causes prompting to confirm you want to overwrite an
existing destination file.
/Z Copies networked files in restartable mode.
The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line. Default is
to prompt on overwrites unless COPY command is being executed from
within a batch script.
To append files, specify a single file for destination, but multiple files
for source (using wildcards or file1+file2+file3 format).
lost_soul on 9/2/2011 at 17:07
Wow this is an ancient topic. It reminds me of splittting files across three floppy disks to transport them from one computer to another. Then I would get bad sectors on floppy two or three during the restoration process... then the cursing would begin. I think I used a program called "EasyBackup"... It has been so long!
Then I got a ZIP drive and my world was forever changed. I still have that parallel ZIP drive actually. It sits here in a box, still working to this day.
cheese, lol on 13/2/2011 at 09:25
Floppy drives make such a cool sound.
I liked it when computers were noisy.