Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2001 15:33:11 -0500
From:      Michael Lucas <mwlucas@blackhelicopters.org>
To:        David Kelly <dkelly@hiwaay.net>
Cc:        David Kirchner <davidk@accretivetg.com>, brain_damaged <brain_damaged@florida-wireless.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: untarring a chicken I mean a file
Message-ID:  <20011120153311.A14729@blackhelicopters.org>
In-Reply-To: <20011120141240.A53581@grumpy.dyndns.org>; from dkelly@hiwaay.net on Tue, Nov 20, 2001 at 02:12:40PM -0600
References:  <200111201456.AA1966932132@florida-wireless.com> <20011120115606.P9030-100000@localhost> <20011120141240.A53581@grumpy.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 20, 2001 at 02:12:40PM -0600, David Kelly wrote:
> I always have a phobia as to whether or not the tar file was bundled in
> a single directory or whether or not it was hundreds of little files
> without a (sub)directory. So even if I expand it in my home directory
> I'll create a throwaway directory to expand it into something like this:
> 
> % mkdir junk
> % cd junk
> % tar -xvzf ../tarfile.tgz
> 

You can also check with the -t option.

tar -tzvf tarfile.tgz will list the contents of a tarball, without
extracting it.


-- 
Michael Lucas
mwlucas@blackhelicopters.org
http://www.blackhelicopters.org/~mwlucas/
Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011120153311.A14729>