Link to home
Start Free TrialLog in
Avatar of Chuckbuchan
Chuckbuchan

asked on

wzzip -ys switch

I have a zip file of 5 gigs , and I want to split this file into 02 zip files of 02 gigs each and another file of 01 gig.
I ran the following command:
wzzip -ys2000000 filenameX.zip   filenameY
after it has finished zipping, it gave me:
FilenameY.z01  
FilenameY.z02
they are 02 gigs each

FilenameY.zip
which 01 gig size.


My question is why those extensions  .z01  and .z02
what kind of extension type is this?  Is there aything I missed to get all of them with .zip extension?
thanks






Avatar of icemanwol
icemanwol

The extensions mean they are a part of a ZIP file that has been split up like yours.  They go in accending order, you first have .zip then .z01, .z02 .z03 and so on.  The reason they have to do this is because if they had the same extension, there would be 2 files of the same name in the same dir on the harddrive and that cannot happen so they have made this so you can slit up files.  To open up the ZIP, you just open the main .zip file and winzip checks for all the other parts you need, if you are missing a part, winzip complains.  There is nothing wroung with your Zip or data.  It's acting just the way it should.
You should leave the extensions/file names alone by the way, if you change then, winzip will complain when you try to open the archive back up
Avatar of Chuckbuchan

ASKER

from what I understood , if I need to restore the files , I will have to unzip only the one that has the extension .zip and subsequently it calls the other .z01, z02 files. Or is there a possibility to restore them separately?
ASKER CERTIFIED SOLUTION
Avatar of icemanwol
icemanwol

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial