33

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?

  • 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. Jul 16 '13 at 16:05

10 Answers 10

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
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

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.

  • yeah, that works for me too – Rishi Jul 30 '09 at 19:07
2

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

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.

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.

  • This certainly isn't 'the least error-prone' alternative. – Olli Feb 5 '14 at 8:46
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.
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.

-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.

-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.

  • 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 Sep 12 '13 at 2:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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