From owner-freebsd-newbies@FreeBSD.ORG Wed Dec 1 05:51:17 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7FCE16A4CE for ; Wed, 1 Dec 2004 05:51:17 +0000 (GMT) Received: from lakermmtao07.cox.net (lakermmtao07.cox.net [68.230.240.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26AAF43D53 for ; Wed, 1 Dec 2004 05:51:17 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.30.24]) by lakermmtao07.cox.net ESMTP <20041201055116.RAJR20686.lakermmtao07.cox.net@dolphin.local.net>; Wed, 1 Dec 2004 00:51:16 -0500 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.13.1/8.13.1) with SMTP id iB15pDQS035331; Tue, 30 Nov 2004 23:51:15 -0600 (CST) (envelope-from conrads@cox.net) Date: Tue, 30 Nov 2004 23:51:08 -0600 From: "Conrad J. Sabatier" To: Wouter van Rooij Message-ID: <20041130235108.2684c043@dolphin.local.net> In-Reply-To: <7603e5d804113003567e9b2824@mail.gmail.com> References: <20041130002108.GH48369@wantadilla.lemis.com> <7603e5d80411300355684bbf72@mail.gmail.com> <7603e5d804113003567e9b2824@mail.gmail.com> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-newbies@freebsd.org Subject: Re: tar : unrecognized archive format X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2004 05:51:17 -0000 On Tue, 30 Nov 2004 12:56:42 +0100, Wouter van Rooij wrote: > > Hi, > > > > I am running on FreeBSD 5.3 and did some ports and packages > > installation and everythings works fine. But ... today when i try > > to untar a *.tar.gz file I get a " tar : unrecognized archive > > format " error I am still able to untar *.tgz files, but no more > > *.tar.gz ?!? > > > > Did i do something wrong whitout knowing it ;-) > > > This is a newbie problem I think;-) > You have to use the following commands with *.tgz: > gunzip filename > tar -xvf filename ( which changeded to *.tar ) > You have to use the following commands with *.tar.gz: > gunzip filename > tar -xvf filename ( which changeded to *.tar ) No, actually, you can do it all in one step with tar: tar xvzf filename The "z" option tells tar to gunzip first, then untar. -- Conrad J. Sabatier -- "In Unix veritas"