Article View: comp.sys.next.misc
Article #3939GNU tar (was Re: su File Viewer)
From: Ken-ichiro Aoki
Date: Thu, 19 Nov 1992 23:13
Date: Thu, 19 Nov 1992 23:13
34 lines
1605 bytes
1605 bytes
In article <BURNS.92Nov19132017@bobcat.cc.gatech.edu> burns@cc.gatech.edu (James E. Burns) writes:
>It's a good idea to know what will happen BEFORE you unpack an unknown
>archive. I use the following little aliases to inspect things before
>I "untar":
>
># Show the contents of a *.tar file
>alias showtar 'tar vtf \!:1'
># Show the contents of a *.tar.Z file
>alias showZ 'zcat \!:1 | tar vtf -'
>
....
I have seen this a couple of times now so I will post rather
than email. You can use GNU tar and say
to show the content (verbose)
% tar -vtf foo.tar
% tar -zvtf foo.tar.Z
to unpack
% tar -xf foo.tar
% tar -zxf foo.tar.Z
On NeXTstep3.0, GNU tar 1.10 does come with the system as
/usr/bin/gnutar so you don't have to install it.
Latest version I know of is 1.11.1 which compiles fine on NeXTs.
I don't mean to flame or anything but this may save you some
effort.
Another feature I like is that you can do remote tars
using GNU tar, which we use (since we don't have tape
drives hooked up to the NeXTs.)
--
___Kenichiro Aoki. (aoki@physics.ucla.edu)
Technical Details
Message-ID:
<1992Nov19.231320.14356@physics.ucla.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!ucivax!ucla-cs!ucla-mic!ucla-physics!aokiReferences:
<BURNS.92Nov19132017@bobcat.cc.gatech.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.misc Path: arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!ucivax!ucla-cs!ucla-mic!ucla-physics!aoki From: aoki@physics.ucla.edu (Ken-ichiro Aoki) Subject: GNU tar (was Re: su File Viewer) Message-ID: <1992Nov19.231320.14356@physics.ucla.edu> Summary: GNU tar does the job, as usual. Keywords: GNU tar Organization: UCLA Department of Physics References: <BURNS.92Nov19132017@bobcat.cc.gatech.edu> Distribution: usa Date: Thu, 19 Nov 92 23:13:20 GMT Lines: 34