From owner-freebsd-questions Wed Apr 11 12:50:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id B360237B424 for ; Wed, 11 Apr 2001 12:50:22 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([fec0::2e0:7dff:fe81:749d] ident=root) by scientia.demon.co.uk with esmtp (Exim 3.22 #1) id 14nQdA-0002RW-00; Wed, 11 Apr 2001 20:50:20 +0100 Received: (from ben@localhost) by strontium.scientia.demon.co.uk (8.11.3/8.11.3) id f3BJoKS43171; Wed, 11 Apr 2001 20:50:20 +0100 (BST) (envelope-from ben) Date: Wed, 11 Apr 2001 20:50:20 +0100 From: Ben Smithurst To: "G. Jason Middleton" Cc: freebsd-questions@freebsd.org Subject: Re: listing the contents of a tar file Message-ID: <20010411205020.A82373@scientia.demon.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message