From owner-freebsd-questions Wed Aug 22 8:42:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from APastourelles-102-1-2-26.abo.wanadoo.fr (APastourelles-102-1-2-26.abo.wanadoo.fr [217.128.208.26]) by hub.freebsd.org (Postfix) with ESMTP id 1D70C37B418 for ; Wed, 22 Aug 2001 08:42:36 -0700 (PDT) (envelope-from olive@deep-ocean.net) Received: by APastourelles-102-1-2-26.abo.wanadoo.fr (Postfix, from userid 1001) id 6913525578; Wed, 22 Aug 2001 17:42:34 +0200 (CEST) Date: Wed, 22 Aug 2001 17:42:34 +0200 From: Olivier Cortes To: m p 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> Mail-Followup-To: Olivier Cortes , m p , freebsd-questions@freebsd.org References: <20010822150841.63108.qmail@web13302.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010822150841.63108.qmail@web13302.mail.yahoo.com>; from sumirati@yahoo.de on Wed, Aug 22, 2001 at 05:08:41PM +0200 X-Operating-System: FreeBSD 4.3-STABLE i386 up 26 days, 9:53 Organization: Deep-Ocean Network X-URL: http://www.deep-ocean.net/ 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 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