How do I reassemble a zip file that has been emailed in multiple parts?

33

11

I received 3 emails each containing part of a zip file. The extensions end in .z00, .z01 and .z02. (Emailed as such to get around the typical 10Mb attachment limit per email.)

I have put all 3 files into one directory.

I can use both 7-zip and WinZip to open the first file (the .z00 file) and it lists the contents of the zip but when trying to extract the files both programs are reporting errors.

What is the least error prone way of reassembling this zip and getting to the files?

Guy

Posted 2009-07-30T19:01:29.787

Reputation: 3 367

Many of the answers point out that all you should need to do is unzip the first file while the others are in the same folder (and that concatenation should not be required). I remember split files where the first (or last?) file was .zip instead of .z##. Changing the file extensions to match that pattern might get it working properly. (Try changing your .z01 to .zip, and if that does not work, try also changing your .z02 to .z01 and your .z03 to .z02. If that doesn't work, try ending the series with .zip (starting with either .z01 or .z00). – A.M. – 2013-07-16T16:05:43.387

Answers

40

It's fairly safe to assume that the file parts just need to be concatenated together.

The easiest way to do this is within 7-Zip - navigate to the folder in the 7-Zip file manager, right-click on the first file in the sequence, and select "Combine Files..." from the context menu.

It can also be easily done on the command line.

On Windows:

copy /B input.z* output.zip

Or Linux (or if you've got Unix command line tools on Windows using Cygwin or GnuWin32):

cat input.z* > output.zip

therefromhere

Posted 2009-07-30T19:01:29.787

Reputation: 7 294

5

Usually there is one *.zip in the set and a couple of *.z??. If you open the *.zip the others are unziped as well as long as they are in the same directory.

If this does not work try what therefromhere said, or if you are on windows:

copy /B yourfile.z00 + yourfile.z01 + yourfile.z02 yourfile.zip

Ludwig Weinzierl

Posted 2009-07-30T19:01:29.787

Reputation: 7 695

4

Have you tried to unzip all the files? Usually, one have to unzip just one (the first ou the last).
Maybe, if you change the extesion of the .z00 to .zip, will be able to unzip all.

Leonel Martins

Posted 2009-07-30T19:01:29.787

Reputation: 256

yeah, that works for me too – Rishi – 2009-07-30T19:07:51.813

2

Usually when i receive split files , i unzip the first file only.
Doing so gave me the complete file, I used 7-zip

Rishi

Posted 2009-07-30T19:01:29.787

Reputation: 896

1

My guess is that they were just split directly, with no extra information, so you should be able to just concatenate them and end up with a full zip file. This thread has some links to tools that can concatenate files.

jtbandes

Posted 2009-07-30T19:01:29.787

Reputation: 8 350

0

Solution Using 7z

  1. Open the folder where the split folders are stored. In my case they were 16 files named from *.7z.001 to *.7z.016
  2. Right-click on the first of the folders and left click to select the "Extract To" suggested folder name proposed automatically by 7z.
  3. 7z then creates a new uncompressed folder inside the same folder and starts unzipping and combining all of them.

Luis F. Garcia

Posted 2009-07-30T19:01:29.787

Reputation: 1

0

I created a new folder, drag the split files into that folder. Highlight all files, select Extract. This will create a new sup-folder where your combined files will be located. Used 7-zip.

Tom Pope

Posted 2009-07-30T19:01:29.787

Reputation: 1

0

I had difficulty with two files I received as xx.zip and xx.z01. I simply did:

cat xx.01 xx.zip > yy.zip

followed by

unzip yy.zip

Gave a few warnings, but did the job. This was on Ubuntu Precise.

Ravi

Posted 2009-07-30T19:01:29.787

Reputation: 11

This certainly isn't 'the least error-prone' alternative. – Olli – 2014-02-05T08:46:07.553

-1

Plain combining 2 individual archives into one will not work. In fact I just tried that on zip, bzip2 and xz archives. All reported the outcome archive to be invalid. It might work with proper multi-part archives though.

Stabby

Posted 2009-07-30T19:01:29.787

Reputation: 1

-1

Open your 7-zip file manager and and navigate to where the parts are, you can then highlight, right click and extract here or wherever you want the end file to be located.

Josh

Posted 2009-07-30T19:01:29.787

Reputation: 1

Please re-read the question, OP has advised he is getting an error when trying to working with the set as a whole – 50-3 – 2013-09-12T02:12:24.767