FIX: Unzip the zip file into a cpgz file

Source: Internet
Author: User
Tags md5 hash

As we all know, zip is a compressed file format, MAC OS default supported file format, at that time occasionally when you open the zip file you want to unzip, but automatically become a cpgz file without decompression, and then double-click the Cpgz file, Archive utility will change it back to zip. What is this for?

There are a few reasons why this happens:
1. zip file is damaged;
2, zip file download is not fully downloaded;
3, the browser when downloading or downloading the completion of the zip file, the error processing it;
4, the bug caused.


There are a number of ways to solve this zip-cpgz loop, first you can verify your zip file MD5 hash or SHA1 (which can usually be found on the top of the page you downloaded), if the check display is different, it means that your file is damaged or incomplete download.

Tips: Check MD5 Hash method: Open terminal, enter MD5, space, and then enter the file path that needs to be verified (you can drag the file directly in)

Check SHA1: Open terminal, enter shasum, space, and then enter the file path that needs to be verified (you can drag the file directly in)


1. Download the zip file again using another browser
If you are downloading zip files using Firefox, Safari, Chrome, and other browsers, it is sometimes just a matter of downloading them again before extracting them. This for small files to say, big file is really not necessary, if you go through the calibration MD5 or SHA1 no problem, then you can directly try the following two ways.

2. Use unzip in terminal
The unzip command prevents the Zip-cpgz loop from appearing, with Weiphone.zip as an example of how the tool can be used
Open terminal, enter unzip, space, and then enter the zip file path (you can drag the file directly into it) and then enter.

This is what you can see in the Terminal window decompression situation, if not found in the current folder, you can go to your personal folder to see (~/).

3, installation, use Unarchiver
The Unarchiver is a versatile third-party compression tool that can decompress multiple compressed file formats. His use of the same as Archiver utility, open the compressed file automatically decompression, completed automatically exit.
You can download it here

FIX: Unzip the zip file into a cpgz file

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.