Unzip a .cpgz File on Mac OS X

When Mac OS X users try to open a zip file and convert it to a cpgz file, several issues can happen. Sometimes, when you unzip the file, it converts to a cpgz file, and when Archive Utility launches, the file turns back to a zip file. This process continues to 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 them.

The command line method works to fix the issue but the best solution would be to download the file again using a different browser, and the unzip process should work correctly.

Reasons for these issues happening

  • Some web browsers don't download the file correctly.
  • The download is not complete.
  • The file is corrupted.

Sometimes the original file doesn't download correctly, using a different browser, like Google Chrome or Firefox, may fix the issue.

Another option is to download and install The Unarchiver. It is a third party app 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 works well for fixing the zip/cpgz files problems on Mac OS X:

  1. Download and install The Unarchiver.
  2. Open the file with which you are having issues.
  3. Let it decompress.

The command line is used to break archives out of the .zip to .cpgz cycle. These steps will show how to do this for the original .zip archive:

  1. Open your Applications folder.
  2. Open the Utilities folder.
  3. Open the Terminal application.
  4. Find the .zip file in the Finder.
  5. At the command line type "unzip" followed by a space.
  6. Drag and drop the .cpgz or .zip file into the terminal window.
  7. Select the Enter key.

Next Steps:

Blog Posts: