|
|
Unzip cpgz files from Windows
|
|
|
|
Mac Elite
Join Date: Jul 2003
Location: Washington state
Status:
Offline
|
|
How do I do it. Somewhere I read that ditto will work. How do I do that? Or is there a simpler way?
sam
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Mar 2004
Status:
Offline
|
|
Double-click (and OSX should expand it for you).
<edit>
As far as the CLI goes, looks like this should also work:
ditto -x /path/to/archive.cpgz /path/to/target/folder/
(
Last edited by Hal Itosis; Dec 8, 2009 at 04:37 PM.
)
|
-HI-
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2003
Location: Washington state
Status:
Offline
|
|
Originally Posted by Hal Itosis
Double-click (and OSX should expand it for you).
<edit>
As far as the CLI goes, looks like this should also work:
ditto -x /path/to/archive.cpgz /path/to/target/folder/
Thanks for the advice. I found that Stuffit Expander will work and No, OSX no longer works. I have Snow Leopard latest and my spouse's machine has Leopard and my old desktop has Tiger and double-clicking does not work on this new file type from Microsoft.
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
That would surprise me, since CPGZ has long been the default format that Archive Utility uses to compress files (and it's been the format that installer packages use to compress file contents for as long as OS X has existed).
Could you perhaps create one of these files that OS X supposedly won't expand and post it online?
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Mar 2004
Status:
Offline
|
|
Originally Posted by SVass
Thanks for the advice. I found that Stuffit Expander will work and No, OSX no longer works. I have Snow Leopard latest and my spouse's machine has Leopard and my old desktop has Tiger and double-clicking does not work on this new file type from Microsoft.
A "cpgz" file is a gzip-compressed cpio (Unix) archive.
With assistance from teh google, i found... - The original cpio utility was written by Dick Haight while working in AT&T's Unix Support Group. It appeared in 1977 as part of PWB/UNIX 1.0, the "Programmer's Work Bench" derived from Version 6 AT&T UNIX that was used internally at AT&T.
.
- The gzip (GNU zip) format was designed by Jean-Loup Gailly (around the mid-90's) and interestingly enough, the associated RFC seems to be authored by an Aladdin engineer.
So basically, cpgz is most definitely *not* some "new file type from Microsoft."
Note too how these (generic) info pages all mention Mac OS X:
File Extension .CPGZ Details
CPGZ File Extension - Open .CPGZ files
Description of CPGZ file extension
You didn't say what exactly does happen when double-clicking. [i.e., did it seem that the OS even *tried* to expand it? How about ditto -x from the command line? Did that fail as well?] Point being: the fact that double-clicking failed does not necessarily mean the OS can't expand .cpgz files -- rather, there may be something strange about that file which prevented the Finder/LaunchServices team from handing it off to the CoreServices Archive Utility.
|
-HI-
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2003
Location: Washington state
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Ah, that makes sense. The ZIP file is probably in a format that OS X doesn't know how to read (the built-in ZIP functionality is actually somewhat limited). Perhaps it is a Zip64 archive, a really old archive from the 90s, or uses an unsupported compression type. What's happening is: the default application for .zip files is set to Archive Utility, so the Finder attempts to open the file with AU when you double-click on it. However, Archive Utility is not recognizing it as an archive it can read, probably due to one of the aforementioned reasons, and thus it's treating it as an uncompressed file - and when it gets one of those, Archive Utility compresses it. And as I mentioned before, Archive Utility's default format is, for some reason, CPGZ.
So, you're not getting CPGZ files from Windows - Archive Utility is just making those when it encounters a ZIP file that it can't read. Unfortunately, I'm not at my computer right now (public machine in a library), so I can't download and look at the file to see what the reason for this is. It would be kind of interesting to see if the file opens in Pacifist, though - if it doesn't, then that's new functionality for me to add at some point.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Offline
|
|
The file decompressed just fine on Snow Leopard.
|
Vandelay Industries
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Mar 2004
Status:
Offline
|
|
Originally Posted by Art Vandelay
The file decompressed just fine on Snow Leopard.
And here in 10.5.8 (on a ppc G4) as well. Got a folder with 2 items:
Read About Sheet.txt
Super GW Similariity based upon half-identical segment count(20).xls
Only one "expansion" occurred.
|
-HI-
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2003
Location: Washington state
Status:
Offline
|
|
Sehr interessant.
I downloaded again and it works just as you said. I still have the old file and it doesn't work except in Stuffit.
Weird.
sam
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Huh. Maybe the file on your hard disk got damaged somehow.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|