Mac on the zip file extract cpgz how to do?

Source: Internet
Author: User
Tags error handling hash md5 md5 hash sha1 zip

We all know that. zip-formatted compressed files are supported by default on Mac OS X, but sometimes when we open a zip file, it automatically becomes a. cpgz format file. If you open it again using the Archive tool, you will be able to recycle the compressed package in the. zip format again. So why is this happening? Mac zip file extract cpgz format file What should I do? The following triple small series for everyone to bring the relevant solutions:

Problem Reason:

First, we analyze the following reasons for this situation:

1, the zip file has been damaged;

2, zip file download did not download completely;

3, the browser to download or download the completion of the zip file, it made error handling;

4, the bug caused.

Verify file:

There are a number of ways to solve this zip-cpgz cycle, first you can verify your zip file MD5 hash or SHA1 (this data can generally be in the top of the page you downloaded), if the checksum display is different, your file is damaged or incomplete download.

1. Check MD5 Hash method: Open the terminal, enter MD5, space, and then enter the file path to verify (you can drag the file directly in)

2. Check SHA1: Open the terminal, enter the shasum, space, and then enter the file path to verify (you can drag the file directly in)

Solution:

1. Download the zip file again using another browser

If you are using Firefox, Safari, Chrome and other browsers to download the zip file, sometimes only in the decompression before the problem of downloading. This for small files to say, big file is really not necessary, if you pass the check MD5 or SHA1 no problem, then you can directly try two ways below.

2. Use unzip in terminal

The unzip command prevents the Zip-cpgz loop from appearing, with Weiphone.zip as an example to explain how the tool can be used

Open the terminal, enter the unzip, space, and then enter the zip file path (you can drag the file directly in), and then return.

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

3, installation, use Unarchiver

Unarchiver is a versatile third-party compression tool that you can extract from a variety of compressed file formats. His use is the same as Archiver utility, open compressed file automatic decompression, after completion of automatic exit.

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.