I get a cpgz file when trying to extract the contents of a file created on an ubuntu system. Tried with 7zip, rar, zip, tar, nothing works... I really need to get this to work, so if somebody had a lead or a solution, that would be great !

link|improve this question
your question is a bit unclear. are you asking how to create an archive that contains no .cpgz files? (how are you creating the archive now?) are you asking how to extract a .cpgz file? both? – quack quixote Apr 3 '10 at 12:51
I know on OS X this happens when the file that I'm trying to extract is not really a zip file (i.e. some files I downloaded from Xerox were .zip when they should've been .dmg; opening with archive utility produced .cpgz files). – squircle Apr 7 '10 at 13:12
feedback

2 Answers

It looks like this extension is created from the cpio utility and then gzip those contents (possibly a flag to cpio similar to tar that automatically sends the file through gzip to compress/decompress it).

link|improve this answer
@Matrix Mole how can i check this ? here's the command i'm using : zip -r <zipfile name> <file 1> <file 2> <file 3> ... – titiyoyo Apr 6 '10 at 8:05
feedback
up vote 0 down vote accepted

the problem was in fact that the file wasn't a zip file at all it only contained a php error message, which obviously couldn't be uncompressed

thanks for your help anyway

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.