hendra-k@server $ cat zipfiles.* > zipfiles-full.zip
hendra-k@server $ zip -F zipfiles-full.zip
hendra-k@server $ unzip zipfiles-full.zip
hendra-k@server $ cat zipfiles.* > zipfiles-full.zip
hendra-k@server $ zip -F zipfiles-full.zip
hendra-k@server $ unzip zipfiles-full.zip
Last articles
Oh Its very helpfull ! thanks a core
I’ve a problem with the second step.
When I execute $zip -F myzipfiles-full.zip it returns me this: cannot find or open myzipfiles-full.zip, myzipfiles-full.zip.zip or myzipfiles-full.zip.ZIP
Any idea??
Thanks in advance.
What does ls -al say?
This functionality is automatically done in file-roller, the default archiving utility in ubuntu. Simply select the first file in the list of parts and it will detect the rest by filename (i.e., if you select file01.zip it will pick up filexx.zip where xx is a number)
$ zip -F lastfile.zip –out full.zip
$ unzip full.zip
or this:
$ zip -FF lastfile.zip –out full.zip
$ unzip full.zip
“lastfile.zip” refers to the last file in the series, the only file not ending with an integer;
no need for the cat command
I tried what badong suggested, but I received the following error: “reading archive fseek: Invalid argument.” The original procedure worked flawlessly, however.
I’m guessing it depends on how the files were split in the first place.
badong’s suggestion worked fine for me, while repairing a cat’d file (with -F or even -FF) failed, regardless of the order in which I fed it the files.
Also, the default archive viewer in Ubuntu Natty Narwhal could not open the split archive here; I had to use “zip -F”.