Date: Tue, 25 May 1999 01:11:35 -0500 From: Dan Nelson <dnelson@emsphone.com> To: Peter Brezny <pbrezny@purplecat.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: bzip2 Message-ID: <19990525011135.B9588@dan.emsphone.com> In-Reply-To: <000001bea663$b8ea79a0$c802040a@latitude.cyber1.net>; from "Peter Brezny" on Tue May 25 00:04:43 GMT 1999 References: <000001bea663$b8ea79a0$c802040a@latitude.cyber1.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 25), Peter Brezny said: > i'm working on restoring just two files out of a bzip-ed file that > contains multiple directories and multiple files. > > could someone please send an example of how to do this. > > i looked through the man page for bzip but was unable to get things > working. bzip can only compress one file per .bz2 file (just like gzip). Perhaps you are thinking of a .tar.bz2 file? bunzip2 < file.tar.bz2 | tar xvf - file1 file2 Or, if you're running a new enough system, tar yxvf file.tar.bz2 file1 file2 -Dan Nelson dnelson@emsphone.com 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?19990525011135.B9588>