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.