From owner-freebsd-questions Sun Dec 23 15: 3:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gate.volant.org (gate.volant.org [207.111.218.246]) by hub.freebsd.org (Postfix) with ESMTP id 2539037B41B for ; Sun, 23 Dec 2001 15:03:18 -0800 (PST) Received: from 216-55-134-176.dsl.san-diego.abac.net ([216.55.134.176] helo=asimov) by gate.volant.org with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.33 #1) id 16IHeG-000971-00; Sun, 23 Dec 2001 15:03:16 -0800 Date: Sun, 23 Dec 2001 15:03:13 -0800 From: Pat Lashley To: daverk@epix.net, freebsd-questions@freebsd.org Subject: Re: tarballs, etc. Message-ID: <1285230000.1009148593@asimov> In-Reply-To: <200112232254.fBNMsj7h026162@lima.epix.net> References: <200112232254.fBNMsj7h026162@lima.epix.net> X-Mailer: Mulberry/2.1.1 (SunOS/SPARC Demo) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 Sunday, December 23, 2001 05:54:44 PM -0500 Dave Kaufman wrote: > ok, how do i uncompress a tarball? when i use tar -x.... i get a message > about not being able to initialize the device sa0. i presume it's looking > for a tape drive. per the help, if i try to filter through bzip2 or > unbzip2 or ungzip i get the same thing. i'm sure this is very simple but > i'm not finding it. > > have two files i want to undo. one is .tar.bz2 the other is a .tar.gz. What you're looking for is the -f parameter. Try the following commands man tar tar xvfz mumble.tar.gz bunzip2 mumble.tar.bz2 | tar xvf - (Replace 'mumble' as necessary to get the names of the files you are trying to unpack.) -Pat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message