Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2002 09:12:39 -0700
From:      "Robert Westendorp" <rjwsys@uniserve.com>
To:        "MET" <met@uberstats.com>, <freebsd-questions@freebsd.org>
Subject:   Re: Compression || Noobie
Message-ID:  <007401c2453f$be5b8400$d3a1f4cc@rob>
References:  <002401c2453e$a86ba130$6901a8c0@SURVIVAL>

next in thread | previous in thread | raw e-mail | index | archive | help
Tar will just archive the files, if you want to compress them you'll want to
Gzip them as well.
Try this command... it'll do both.


tar -zvcf file.tar.gz <files/directory you want to tar/gz)>

That should be it :)

----- Original Message -----
From: "MET" <met@uberstats.com>
To: <freebsd-questions@freebsd.org>
Sent: Friday, August 16, 2002 9:04 AM
Subject: Compression || Noobie


> I've got ever growing databases that are just getting massive.  I've
> already written a program (out of odd entertainment) that creates
> backups of the databases.  It also manages the files to only keep a
> certain amount around in the directory.  Anyways, I'm missing one KEY
> piece.  How do I compress them?  Naturally its got something to do with
> 'tar -c --file=file.tar file', but when I run that it does 'tar' the
> file, but does not compress the file one bit.
>
> Ideas?
>
> ~ Matthew
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


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?007401c2453f$be5b8400$d3a1f4cc>