Unzip the fragmented zip file under Linux __linux

Source: Internet
Author: User

Because of network instability and slow file uploads, we often split files into multiple files and upload them to the server

-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z01
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z02
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z03
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z04
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z05
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 Weblogic-linux.z06
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z07
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z08
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z09
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z10
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z11
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z12
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z13
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z14
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z15
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z16
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z17
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z18
-rw-rw-r--1 weblogic weblogic 50000000 02-06 16:18 weblogic-linux.z19
-rw-rw-r--1 weblogic weblogic 14979127 02-06 16:18 weblogic-linux.zip

Just like the above, if you unpack with a tool like WinDOS, you'll get an error.

$ unzip Weblogic-linux.zip

Archive:weblogic-linux.zip
Warning [weblogic-linux.zip]: ZipFile claims to IS last disk of a multi-part archive;
Attempting to process anyway, assuming all parts have been
Together in order. Expect "Errors" and warnings...true multi-part support
Doesn ' t exist yet (coming soon).
Caution:filename not Matched:weblogic-linux.zip

So what's the right way to decompress?

1) Merging of documents

#> Cat weblogic-linux.* > Weblogic-linux_all.zip

2 try to repair the corrupted compressed file.

#> zip-f Weblogic-linux_all.zip

3) Normal decompression

#> Unzip Weblogic-linux_all.zip

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.