[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] tar not compressing?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 23 February 2004 20:40, FantasticMoms.com wrote:
> I just noticed tarring my log files doesn't seem to make them smaller.
>
> I just tarred web.log by using the following :

Tar just groups files into one archive.  If you want compression in tar, 'man 
tar' or 'tar --help' should give you the proper options for using either 
bzip2 or gzip compression.  If you're only trying to compress that one file, 
I would just use the actual programs bzip2 or gzip.  Since it is a text file, 
you will probably get better compression using bzip2, however, it take more 
time than gzip would.

Kevin Bonner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAOq2V/9i/ml3OBYMRAvVeAJ0QcKk8CjLlVE/YE5OGDx7yVoNcowCgnuN9
O31OWC846j/Qeniyy0MjhXw=
=7mou
-----END PGP SIGNATURE-----