Priest of the Order of the Butterfly
Posts: 874 from 2007/4/9
From: Kingston upon ...
Quote:Andreas_Wolf wrote:
> I have a file [...] in tgz format. How do I view these files.
TGZ is short for TAR.GZ. If you double click the file on Ambient, you will see the contents of the
GZip container, which is a
TAR file. If you then double click the TAR file, Ambient will present you with the final contents.
Instead of using Ambient, you can also use command line with the xadunfile command.
I have (occasionally) come across tar.gz (aka tgz) where the contents of the gz is a tar file in a directory, but misnamed tar.gz. The above method doesn't work with those.
foo.tar.gz contains only a directory named ".." which contains foo.tar.gz (which is actually a tar file mislabelled)
foo.tar.gz contains the packed files, but must be renamed to foo.tar before Ambient will recognise it correctly.
To access these the contents of the gz (either the ".." directory, or the file foo.tar.gz) must be copied to a real location (eg ram) before the tar.gz can be renamed to .tar, and then unpacked.
It shows up that Ambient mime types rely on file extensions to some degree rather than sniffing file headers.
Example:
Coin3D librarywww.hullchimneyservices.co.uk
UI: Powerbook 5,6 (1.67GHz, 128MB VRam): OS3.1, OSX 10.5.8
HTPC: Mac Mini G4 (1,5GHz, 64MB VRam): OS3.1 (ZVNC)
Audiophile: Efika 5200b (SB Audigy): OS3.1 (VNC + Virtual Monitor)
Windows free since 2011!