Re: .bz2 format?

1999-03-10 Thread Thomas Koehler

Hi,

On Wed, Mar 10, 1999 at 11:35:50AM -0500, Yirong Li wrote:
> 
> Hi there,
> 
> This may sound stupid, but how do I uncompress a bz2 file?

This sounds stupid, because this question has been asked AND answered on
this list before (and now, thousands of people STILL ask this
question)...

1. READ the list you're going to mail to and scan for your question, it
has often already been answered.
2. Get bzip2 for your linux distribution - most distributions have
packages. For example for Debian GNU/Linux 2.1, try
ftp://ftp.de.debian.org and get
/pub/debian/dists/slink/main/binary-i386/util/bzip2_0.9.0c-2.deb
If you're still not luky, try ftpsearch on "bzip2"
Then run "cat filename.tar.bz2|bunzip2|tar xvf -" or simply try
"tar xIvf filename.tar.bz2" if your tar is a recent version.

> Thanks.

HTH,
Thomas

-- 
Thomas KöhlerEmail: [EMAIL PROTECTED]
<><   WWW:http://home.pages.de/~jeanluc/
  IRC:   jeanluc
  LCARS --- Linux for Computers on All Real Starships


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Installing JDK 1.2 ?

1999-03-10 Thread Thomas Koehler

On Wed, Mar 10, 1999 at 01:26:06PM -0700, [EMAIL PROTECTED] wrote:
> 
> Hello,
> 
> I downloaded 1.2 and read the release notes at blackdown. The notes stated
> that installing JDK 1.2 would win the admiration of the blackdown group. I
> can see why, the docs talk about a gzip file but the extension on the file
> that downloads is bz2. Maybe I missed something but the tar zxvf
> jdk1.2pre-v1.tar.bz2 won't open the file. Yes this looks like it may be a
> real challenge as it can't be opened on a typical Linux box :-)

It can be opened on a typical Linux box.

> Please  forward any clues I missed somewhere down the line.

You missed reading this list for a few days ;)

Get bzip2 and be happy (ftpsearch for bzip2 or get the package for your
linux distribution).
tar Ivxf filename.tar.bz2
or
cat filename.tar.bz2 | bunzip2 | tar xvf -
(second method applies if your tar is too old to know I)

> Regards
> Tony Dean

CU,
Thomas

-- 
Thomas KöhlerEmail: [EMAIL PROTECTED]
<><   WWW:http://home.pages.de/~jeanluc/
  IRC:   jeanluc
  LCARS --- Linux for Computers on All Real Starships


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: rm

1999-03-16 Thread Thomas Koehler

On Tue, Mar 16, 1999 at 02:08:30PM +0100, Ozer Irfan wrote:
> Hello
> how delete the content of a directorie with many files ?
> 
> I use rm -rf *
> but I have the message :  parameter too long
> I'm not root.

Try this:

find . -maxdepth 1 -exec rm -rf {} \;

> Thanks.
> 
> Irfan

HTH,
Thomas

-- 
Thomas KöhlerEmail: [EMAIL PROTECTED]
<><   WWW:http://home.pages.de/~jeanluc/
  IRC:   jeanluc
  LCARS --- Linux for Computers on All Real Starships


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: go back to gzip!

1999-04-01 Thread Thomas Koehler

On Thu, Apr 01, 1999 at 12:19:44PM +0200, Robb Shecter wrote:
> 
> Peter Kovacs wrote:
> 
> > jdk1.2pre-v1.tar.bz2   24457274
> > jdk1.2pre-v1.tar.gz26062044
> >
> > Means a 6.1% better compression rate. Is it really that much improvement? If it 
>was at least 15%...
> >
> 
> Well,  that looks like 1.6 MB per download.  So, multiplied by the 500,000 downloads 
>it'll get  :),
> that's a lot of traffic that can be saved, esp. for a non-commercial provider.
> 
> If bzip2 is "better", then we should use it for -everything-.  It doesn't matter if 
>it hurts a bit in
> the short run.  As long as there's a new version coming of (say) tar that knows 
>about it, and it makes
> sense, then it should be done.

Try "tar Ixf filename.tar.bz2" (your tar should be a recet version)
[(GNU tar) 1.12 does the job here.]

HTH,
Thomas

-- 
Thomas KöhlerEmail: [EMAIL PROTECTED]
<><   WWW:http://home.pages.de/~jeanluc/
  IRC:   jeanluc
  LCARS --- Linux for Computers on All Real Starships


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]