Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2001 15:03:13 -0800
From:      Pat Lashley <patl+freebsd@volant.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Sunday, December 23, 2001 05:54:44 PM -0500 Dave Kaufman 
<daverk@epix.net> 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




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