Unzip a .cpgz File

A common issue when Mac OS X users try to open a zip file and convert it to a cpgz file is that there are several issues that happen. Sometimes, when the zip file is unzipped, it converts to a cpgz file and when Archive Utility is launched, the file turns back to a zip file. This process continues in a loop, making it almost impossible to unzip a cpgz file on Mac OS X. Below are some of the reasons that this happens and how to fix these issues as well.

Reasons for these issues happening

  • Some web browsers don’t correctly download the file
  • Incomplete download
  • Corrupted file

Download the File Again with a Different Browser

Some web browsers don’t correctly download the original file and may work using a different browser like Google Chrome or Firefox. Generally this will fix the solution as the file was not downloaded correctly, thus causing these issues. There are also two other methods that should help fix this issue and can be found below.
Install & Use The Unarchiver

Another option is to download and install The Unarchiver. This is a third party app that is great for compression formats and used to archive any file format. The Unarchiver is similar to the standard default Archive Utility found on Mac OS X. This tool is great for fixing the zip/cpgz files problems on Mac OS X:

  1. Download and install The Unarchiver
  2. Open the file that is having the issue on .zip or .cpgz file using The Unarchiver and let it decompress

Unzip from the Command Line

If the two methods from above don’t work, a third option to unzip a cpgz file on Mac OS X is to use the command line unzip tool. Generally this is used to break archives out of the .zip to .cpgz cycle. The steps below will show how to do this for the original .zip archive:

    1. Open Terminal
      (Open your Applications folder, then open the Utilities folder. Open the Terminal application)
    2. Find the .zip file in the Finder
    3. At the command line type “unzip ” followed by a space
    4. Drag and drop the .cpgz or .zip file into the terminal window and hit enter

The command line method generally works the majority of the time to fix the issue and unzip a cpgz file on Mac OS X. The best solution would be to download the file again using a different browser and the unzipping process should work correctly.

Have more questions? Submit a request