Operating System - HP-UX
1834449 Members
2178 Online
110067 Solutions
New Discussion

Re: Howto: split big file in multiple pieces and rebuild on Windows2000 system?

 
R. Kessels
New Member

Howto: split big file in multiple pieces and rebuild on Windows2000 system?

Hi all,

On a HP-UX 11.11 system, I have a compressed file of 3.5 Gb. This file needs to be splitted in pieces of 650 Mb so they can be copied to a workstation and being burned on cd. After that, the cd's will be copied to a Windows 2000 system and there the original file needs to be rebuild. How can I achieve this, I have already installed Gzip version 1.3.3 but with Gzip I cannot split in sizes. Other programs like bsplit can spilt files but the files cannot be rebuild on a Windows system...

Many thanks.
7 REPLIES 7
Ramkumar Devanathan
Honored Contributor

Re: Howto: split big file in multiple pieces and rebuild on Windows2000 system?

Hi,

use bsplit for windows to merge back the files on windows.

http://jean.brefort.free.fr/info/en/bs/

- ramd.
HPE Software Rocks!
T G Manikandan
Honored Contributor

Re: Howto: split big file in multiple pieces and rebuild on Windows2000 system?

http://www.rzsplit.com/

check rzsplit utility

THanks
Robert-Jan Goossens
Honored Contributor

Re: Howto: split big file in multiple pieces and rebuild on Windows2000 system?

Eugeny Brychkov
Honored Contributor

Re: Howto: split big file in multiple pieces and rebuild on Windows2000 system?

Check if this bsplit does not convert data when splitting. I mean if it splits binary data file then the output of bsplit are simply chunks of this file (not converter to mime or any other format).
Then, after copying these files to windows system, you simply issue the following command (for example, n=number of chunks):
copy /b file1.spl+file2.slp+....+filen.spl fullimage.bin
Eugeny
Michael Steele_2
Honored Contributor

Re: Howto: split big file in multiple pieces and rebuild on Windows2000 system?

I've used split and binary ftp transfer without problem from HP-UX. This leaves the files in an ASCII format on a windows platform. And used an editor to append the files together.

Here are two examples of splitting the same file sized at 278761580 bytes.

split -b 56m source_file dest_file

split -b 55752k source_file dest_file

Here is the ftp example:
cd source directory
ftp
user
password
bin
mput *
Support Fatherhood - Stop Family Law
R. Kessels
New Member

Re: Howto: split big file in multiple pieces and rebuild on Windows2000 system?

Hi,

Thanks for all your replies. The tric with split and copy /B worked. Bsplit is not an option because it cannot handle those big files, but the split command can.
Mariani Alberto
Frequent Advisor

Re: Howto: split big file in multiple pieces and rebuild on Windows2000 system?

I agree with Mr. Steele on using the unix split command.
On windows2000 i've never tried, but on older versions the command
copy /b chunk1+chunk2+chunk3+.... destfile
used to work correctly.
A few things: notice the "+" signs between the chunk names, the /b switch (used to tell to copy to treat files as binary) and, last but not least, mind the order.

Bye,
Alberto