|
|
#1 |
|
Triple-A Player
Join Date: May 2002
Posts: 56
|
Unix Compressed File... How to decompress
I have a file that the finder says is a unix compressed file and Ican't seem to uncompress it. Any thoughts as to how I uncompress it? I have stuffit deluxe 7 and it doesn't do it.
thanks |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
Need more info..
What is it's suffix? .tgz? .gz? .zip? .bzip? .tar? Something else?
|
|
|
|
|
|
#3 |
|
Triple-A Player
Join Date: May 2002
Posts: 56
|
data.z is the file's name.
|
|
|
|
|
|
#4 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
|
Try using 'uncompress data.z' in a Terminal window.
|
|
|
|
|
|
#5 |
|
Triple-A Player
Join Date: May 2002
Posts: 56
|
It didn't work either, so I assume that the file really isn't that. Any chance you know of a program that can tell me what exactly this file is?
thanks |
|
|
|
|
|
#6 |
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
Thought.. if .gz is for gnuzip, .z might just be old zip. Try in the Terminal: unzip data.z
|
|
|
|
|
|
#7 |
|
Triple-A Player
Join Date: May 2002
Posts: 56
|
Unzip isn't a command it understands.....
|
|
|
|
|
|
#8 |
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
Do: whereis unzip
It should be there.. yellow% whereis unzip /usr/bin/unzip Anyway, do this instead: /usr/bin/unzip data.z Last edited by yellow; 11-25-2003 at 02:31 PM. |
|
|
|
|
|
#9 |
|
Triple-A Player
Join Date: May 2002
Posts: 56
|
[richard-lettaus-Computer:~] richardl% /usr/bin/unzip/ DATA.Z
/usr/bin/unzip/: Command not found. |
|
|
|
|
|
#10 | |||||||||||||||||||
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
Not /usr/bin/unzip/... /usr/bin/unzip |
|||||||||||||||||||
|
|
|
|
|
#11 |
|
Triple-A Player
Join Date: May 2002
Posts: 56
|
richardl% /user/bin/unzip DATA.Z
/user/bin/unzip: Command not found. |
|
|
|
|
|
#12 | |||||||||||||||||||
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
Not /user/bin/unzip... /usr/bin/unzip Copy & Paste Me: /usr/bin/unzip DATA.Z |
|||||||||||||||||||
|
|
|
|
|
#13 |
|
Triple-A Player
Join Date: May 2002
Posts: 56
|
richardl% /usr/bin/unzip DATA.Z
/usr/bin/unzip: Command not found. |
|
|
|
|
|
#14 |
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
Alrighty.. what version of OS X are you using? Did you not install the BSD Subsystem when you installed it? For example, what do you get if you do: whereis ssh
yellow% whereis ssh /usr/bin/ssh |
|
|
|
|
|
#15 |
|
Triple-A Player
Join Date: May 2002
Posts: 56
|
Here is what I get
/usr/bin/ssh 10.2.8 Thanks for all the help |
|
|
|
|
|
#16 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
|
/usr/bin/unzip comes from the Developer Tools (as seen from /Library/Receipts/DevTools.pkg)
so I guess that rmletc wouldn't have it. rmletc, please show us the results of the following two commands in a Terminal window: file data.z uncompress data.z |
|
|
|
|
|
#17 |
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
That's really odd.. I checked some vanilla Jaguar installs that don't have DevTools and unzip is there. <shrug>
|
|
|
|
|
|
#18 |
|
All Star
Join Date: Jan 2002
Location: New York, NY
Posts: 587
|
Aren't "data.z" files part of Windows InstallShield packages? You know, there's a "setup.exe" file and a bunch of other files. I don't have a Windows machine handy, but from my PC days, but I seem to remember *.z files showing up there.
Where did you get the file you're trying to decompress? |
|
|
|
|
|
#19 |
|
All Star
Join Date: Jan 2002
Location: CO, USA
Posts: 908
|
If you've installed the BSD package, the best way to find out what a file contains is the file command; open Terminal and simply do
Code:
file data.z |
|
|
|
|
|
#20 |
|
Prospect
Join Date: Nov 2003
Posts: 3
|
well maybe you should do a "file data.Z" and if it says somthing like "compress'd data ...." then just use gunzip for it
|
|
|
|
![]() |
|
|