Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 1997 18:55:32 +0200 (MET DST)
From:      Joachim Kuebart <joki@kuebart.stuttgart.netsurf.de>
To:        Steve Howe <un_x@anchorage.net>
Cc:        questions@FreeBSD.ORG, Bernard Courtney <bc@bythehand.com>
Subject:   Re: UN Tar
Message-ID:  <XFMail.970513203236.joki@jocki.domestic.de>
In-Reply-To: <Pine.BSF.3.95q.970513034740.1034I-100000@aak.anchorage.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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            <http://www.freebsd.org>;
Joachim Kuebart                                      <joa@delos.lf.net>
Tel: +49 711 653706                          <joa@stuttgart.netsurf.de>
Germany                             <joki@kuebart.stuttgart.netsurf.de>



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