So sprach �Franki� am 2001-10-03 um 18:34:53 +0800 : > I knew there were heaps of ways to do it, I just didn't know what was > best...
You didn't ask about the best. You asked about gzip, not bzip2 which are not compatible. > > Mr Steve suggested this: Who? > > I'd use tar -cwf foo.tar/ | bzip2 -9 No need to break your fingers when writing the above... And IMO it's better to have tar handle the bzip2 by itself Well, do: a) Read the man page b) Read the info page c) Read the output of tar --help d) One of the following: d1) tar cfvj foo.tar.bz2 foo/ d1a) Note: j is a "new" option. Old tar's used y as the bzip2 switch d2) tar cfv foo.tar.bz2 --bzip2 foo/ d2a) Note: --bzip2 is a "new" option. Old tar's didn't know how to handle bzip2 d3) tar cfv foo.tar.bz2 --use=bzip2 foo/ d3a) That's the most compliant way of having tar call bzip2. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die g�nstige Art an Linux Distributionen zu kommen Uptime: 1 hour 6 minutes
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
