From owner-freebsd-questions Tue May 13 11:32:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA04782 for questions-outgoing; Tue, 13 May 1997 11:32:50 -0700 (PDT) Received: from jocki.domestic.de (kuebart.stuttgart.netsurf.de [194.233.216.182]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA04734 for ; Tue, 13 May 1997 11:32:41 -0700 (PDT) Received: (from joki@localhost) by jocki.domestic.de (8.8.5/8.8.5) id UAA02998; Tue, 13 May 1997 20:32:36 +0200 (MET DST) Message-ID: X-Mailer: XFMail 1.0 [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 13 May 1997 18:55:32 +0200 (MET DST) From: Joachim Kuebart To: Steve Howe Subject: Re: UN Tar Cc: questions@FreeBSD.ORG, Bernard Courtney Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On 13-May-97 at 11:49:11 Steve Howe wrote: >On Mon, 12 May 1997, Bernard Courtney wrote: > >> HI all, >> >> Quick question- what is the command to un tar a local file? eg. I have >> qmail in the /var directory, I want to extract it to the /var directory- >> what is the command? > >man tar ... > >tar -xzvf file > >the z is used only if it's gzipped. i would untar it in a tmp >directory first, to see how it untarrs - maybe not like you'd >want it too. A better way to do this is to use "tar tzf foo.tar.gz | {more|less}" to see the directories contained in the archive. Saves you the step of erasing the tmp-extract ;-) >------------------------------------------------------------------------- > Sleep: a sign a caffeine deprivation ... http://www.anchorage.net/~un_x >------------------------------------------------------------------------- ----------------------------------------------------------------------- For a world of pedigree OSs FreeBSD - top breeders recommend it Joachim Kuebart Tel: +49 711 653706 Germany