Command Line

As someone who handles a lot of files from time to time. I seem to have been getting problems when I encounter files with the extension, cpgz

Whenever, I extract from it, I get a zip file and extracting the zip file creates another cpgz file.

Here is an easy way to extract a cpgz file on a Mac.

First, you need to install 7zip:

brew install p7zip

Second, extract away.

7za x /Users/thorpeobazee/Downloads/myfile.cpgz
7-Zip (A) [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=utf8,Utf16=on,HugeFiles=on,4 CPUs)

Processing archive: /Users/thorpeobazee/Downloads/


Everything is Ok

Size:       69632
Compressed: 69226

You will need to unzip the uncompressed file.

Processing archive: /Users/thorpeobazee/Downloads/

Extracting  myfile2.txt

Everything is Ok

Size:       186382
Compressed: 69632

Good luck extracting!