Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Decompress zip archives that expand to .cpgz archives Apps
I'd come across this before, and it was very annoying. Last night, I downloaded a zip archive of freely-distributed MP3 files, and when I double-clicked it to decompress it, all I got was a .cpgz file. This is apparently a zipped CPIO archive file. Double-clicking that file just created the zip file again, and this was an endless loop

Searching on Google, I saw that plenty of people had come across this problem, and offered a number of suggestions, none of which worked for me. Some articles suggested that the download might have been corrupted, but as this was a very large file, I didn't want to try and download it again.

The solution for me was to use the free The Unarchiver, which has turned out to be a Swiss army knife for decompressing many obscure types of archives. Opening the file with The Unarchiver decompressed it correctly.

I didn't think of it at the time - and I have since deleted the archive - but the cpio command would probably have worked via Terminal as well. In any case, if you encounter this odd archive decompression loop, here's an easy way to solve the problem
    •    
  • Currently 3.75 / 5
  You rated: 1 / 5 (8 votes cast)
 
[65,858 views]  

Decompress zip archives that expand to .cpgz archives | 3 comments | Create New Account
Click here to return to the 'Decompress zip archives that expand to .cpgz archives' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Decompress zip archives that expand to .cpgz archives
Authored by: ruckusing on Mar 26, '12 09:57:49AM

Using the unzip command from Terminal can also take care of this.



[ Reply to This | # ]
Decompress zip archives that expand to .cpgz archives
Authored by: jaydisc on Mar 26, '12 04:07:20PM

The Archive Utility in OS X doesn't understand the specific .zip compression applied, and thus thinks you want to COMPRESS the file as opposed to expanding it, and .cpgz is its default compression format, so basically your were compressing and decompressing the file over and over again.

When I experience this, I usually just use Terminal:

# unzip path/to/zipfile.zip

It's much more resilient than Archive Utility. Suspect that's what The Unarchiver uses anyway.



[ Reply to This | # ]
Decompress zip archives that expand to .cpgz archives
Authored by: carmean on Dec 07, '12 10:51:43AM

I had this problem with Chrome and Firefox downloads of zipped files, but using Safari to download unzipped the download properly.



[ Reply to This | # ]