Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a 6GB file which I need to transport on DVDs. I have a Linux system, while the recipient has a Windows system. Is there any way for me to make a multi-part archive to spread the file across two DVDs that can be opened by a Windows user?

share|improve this question
I have gotten the split file created on Linux, but I am having difficulty recombining it on Windows. Since there is no longer any Linux aspect to the remainder of the problem, I have opened a SU question for that: superuser.com/questions/240086/… – Macha Jan 31 '11 at 20:09
up vote 5 down vote accepted

Rar is the common utility for operations such as this as it is available on both platforms.

However another approach is to use split.

split -b 1024m -d somefile somefile.

Then use 7zip on the windows machine to re-combine the files.

Rar has the advantage of being a little simpler, but requires it to be installed on both machines. Split has the advantage of it being faster as it doesnt have to put the data in an archive, but leaves it as is.

share|improve this answer
I have tried using split and 7-zip cannot recombine the files. It says "Cannot detect file as splitted files." – Macha Jan 31 '11 at 19:53
To recombine the files, just use copy /b file1+file2+file3 recombined.zip – 9000 Feb 1 '11 at 10:30
Try doing split -b 1024m -d somefile somefile.0 (this will make the files called 'file.001' instead of 'file.01'. 7zip can be picky on its recognizing the its a simple split and not an archive. The copy also works, I just never remember it :-) – Patrick Feb 1 '11 at 15:27

Make a zip archive and split it with

zipsplit -n 4699996160 foo.zip

I believe recent versions of Windows have built-in support for zip archives. If the recipient's system is too old, it may have Winzip or 7-zip.

If you have a single file, you can split it with split:

split -b 4589840k -d pieces- large_file.dat

On the Windows machine, on the command line (press Win+R and type cmd), assemble it with

copy pieces-aa + pieces-ab large_file.dat
share|improve this answer
Using copy first-part + second-part output gets a 50kb output file, not the original file. – Macha Jan 31 '11 at 19:56
@Macha: Odd. I suggest you ask on Super User for help with the Windows part. Since the questions will be closely related, link them to each other. Alternatively, flag your question for moderator attention and request a migration to Super User. – Gilles Jan 31 '11 at 20:02
Done. superuser.com/questions/240086/… – Macha Jan 31 '11 at 20:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.