From owner-freebsd-questions Tue Nov 20 12:33:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id B9D1837B419 for ; Tue, 20 Nov 2001 12:33:21 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id fAKKXBD14862; Tue, 20 Nov 2001 15:33:11 -0500 (EST) (envelope-from mwlucas) Date: Tue, 20 Nov 2001 15:33:11 -0500 From: Michael Lucas To: David Kelly Cc: David Kirchner , brain_damaged , freebsd-questions@FreeBSD.ORG Subject: Re: untarring a chicken I mean a file Message-ID: <20011120153311.A14729@blackhelicopters.org> References: <200111201456.AA1966932132@florida-wireless.com> <20011120115606.P9030-100000@localhost> <20011120141240.A53581@grumpy.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011120141240.A53581@grumpy.dyndns.org>; from dkelly@hiwaay.net on Tue, Nov 20, 2001 at 02:12:40PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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