From owner-freebsd-questions Wed Apr 11 12:52:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mx3out.umbc.edu (mx3out.umbc.edu [130.85.253.53]) by hub.freebsd.org (Postfix) with ESMTP id 38B4137B422; Wed, 11 Apr 2001 12:52:12 -0700 (PDT) (envelope-from gmiddl1@gl.umbc.edu) Received: from irix2.gl.umbc.edu (gmiddl1@irix2.gl.umbc.edu [130.85.60.11]) by mx3out.umbc.edu (8.9.3/8.9.3) with ESMTP id PAA07830; Wed, 11 Apr 2001 15:52:10 -0400 (EDT) Date: Wed, 11 Apr 2001 15:52:10 -0400 From: "G. Jason Middleton" To: Ben Smithurst Cc: Subject: Re: listing the contents of a tar file In-Reply-To: <20010411205020.A82373@scientia.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hey sweet thanks man. trying to learn some UNIX basics here...scripting, tarring ...etc etc Jason On Wed, 11 Apr 2001, Ben Smithurst wrote: > G. Jason Middleton wrote: > > > I wanna see what is in one of my newly created tar files do do this i did > > a > > tar -list filename.tgz > > tar tzf filename.tgz > > t == list > z == zipped file > f == filename > > Add v (verbose) to get an 'ls -l' style listing. > > If you don't specify a file with the "f" flag it will use the tape drive > by default. Note that you don't need "-" before the command flags as > with most commands, tar's just a bit weird like that. > > -- > Ben Smithurst / ben@FreeBSD.org > G. Jason Middleton _______________________________________________________________________________ Announcement: The revolution will not be televised. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message