Date: Fri, 16 Aug 2002 12:42:41 -0400 From: "MET" <met@uberstats.com> To: "'Roman Neuhauser'" <neuhauser@bellavista.cz> Cc: <freebsd-questions@freebsd.org> Subject: RE: Compression || Noobie Message-ID: <002601c24543$f0af2250$6901a8c0@SURVIVAL> In-Reply-To: <20020816163250.GH389@freepuppy.bellavista.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks. ~ Matthew -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Roman Neuhauser Sent: Friday, August 16, 2002 12:33 PM To: MET Cc: freebsd-questions@freebsd.org Subject: Re: Compression || Noobie > From: "MET" <met@uberstats.com> > To: <freebsd-questions@freebsd.org> > Subject: Compression || Noobie > Date: Fri, 16 Aug 2002 12:04:44 -0400 > > 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. tar does not compress. if you want to compress individual files, use % bzip2 -k foo if you want to compress multiple files (or a directory) in one archive, use % tar cjf archive.tar.bz2 foo [bar baz] decompression is done by one of these: % bzip2 -dk foo.bz2 % tar xjf archive.tar.bz2 -- FreeBSD 4.6-STABLE 6:27PM up 7 days, 6:21, 20 users, load averages: 0.09, 0.06, 0.01 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?002601c24543$f0af2250$6901a8c0>