Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2001 17:42:34 +0200
From:      Olivier Cortes <olive@deep-ocean.net>
To:        m p <sumirati@yahoo.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Re: How to untar a .tgz file
Message-ID:  <20010822174234.A37914@APastourelles-102-1-2-26.abo.wa>
In-Reply-To: <20010822150841.63108.qmail@web13302.mail.yahoo.com>; from sumirati@yahoo.de on Wed, Aug 22, 2001 at 05:08:41PM %2B0200
References:  <20010822150841.63108.qmail@web13302.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 22, 2001 at 05:08:41PM +0200, m p wrote:
> It should be:
> 
> tar -xzvf /file/to/untar.tgz /path/to/extract/to

no, no.
this way your are trying to find the file "/path/to/extract/to" in the
archive and extract it in your current working dir.

with gnu tar (gtar), you can use option -C /path to do what you want.
with bsd tar (the one aimed here), i don't know. i go in the good dir
before extracting !

olivier


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?20010822174234.A37914>