Article View: best.general
Article #1622Re: Files with .tgz extension?
From: David Hassell
Date: Thu, 02 May 1996 00:00
Date: Thu, 02 May 1996 00:00
40 lines
2025 bytes
2025 bytes
In article <4mbcos$fpt@shellx.best.com>, haynes@shellx.best.com (Charles Haynes) wrote: >In article <dhassell-0205960813540001@m055-446-a-d1.tc.tufts.edu>, >David Hassell <dhassell@diamond.tufts.edu> wrote: >>As someone once helped me, here's the deal: > >>dfork -i <file>.tgz >>zcat <file>.tgz | tar -xvf - > >dfork? That's a new one to me. What's it do, return the data fork of a >flattened Mac file? In fact, yes. It outputs the data fork to stdout. Since mac files have both data and resource forks, you need to use dfork to use the file in UNIX. >In any case, two points: > > 1) did you ftp this file to best? Did you make sure to do it in > binary mode? Valid point although I think the problem he was experiencing was the fact that the file he was trying to decompress was a Mac file. Many of the files on Tenon's site are in this format. > 2) you don't need the explicit gzip step. for a tar that supports > it (like gnutar) just do tar xvzf file.tgz The tar on best > supports the -z option. This is true...my mistake. - Dave -- David Hassell dhassell@emerald.tufts.edu Tufts Varsity Crew @diamond.tufts.edu Residential Computer Consultant, @cs.tufts.edu Area Supervisor http://www.tufts.edu/~dhassell/crew.html
Technical Details
Message-ID:
<dhassell-0205962103200001@m055-446-a-d1.tc.tufts.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4m9f7l$829@shellx.best.com> <4m9h2j$o7t@shellx.best.com> <4m9j9u$dem@shellx.best.com> <dhassell-0205960813540001@m055-446-a-d1.tc.tufts.edu> <4mbcos$fpt@shellx.best.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9f6d,fc59aba9500c49d1 X-Google-Attributes: gidf9f6d,public X-Google-Thread: 10f7da,fc59aba9500c49d1 X-Google-Attributes: gid10f7da,public From: dhassell@diamond.tufts.edu (David Hassell) Subject: Re: Files with .tgz extension? Date: 1996/05/02 Message-ID: <dhassell-0205962103200001@m055-446-a-d1.tc.tufts.edu> X-Deja-AN: 152690381 references: <4m9f7l$829@shellx.best.com> <4m9h2j$o7t@shellx.best.com> <4m9j9u$dem@shellx.best.com> <dhassell-0205960813540001@m055-446-a-d1.tc.tufts.edu> <4mbcos$fpt@shellx.best.com> organization: Hmmmm....... newsgroups: best.general,comp.unix.machten