From owner-freebsd-questions Fri Aug 16 9:14:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64B7137B400 for ; Fri, 16 Aug 2002 09:14:22 -0700 (PDT) Received: from mx3.uniserve.ca (mx3.uniserve.ca [216.113.192.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 163F643E6A for ; Fri, 16 Aug 2002 09:14:22 -0700 (PDT) (envelope-from rjwsys@uniserve.com) Received: from rob.office.uniserve.ca ([204.244.161.211] helo=rob) by mx3.uniserve.ca with smtp (Exim 4.04) id 17fjjv-000Gnh-00; Fri, 16 Aug 2002 09:14:19 -0700 Message-ID: <007401c2453f$be5b8400$d3a1f4cc@rob> From: "Robert Westendorp" To: "MET" , References: <002401c2453e$a86ba130$6901a8c0@SURVIVAL> Subject: Re: Compression || Noobie Date: Fri, 16 Aug 2002 09:12:39 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Scanner: Scanned in 0.02 seconds OK *17fjjv-000Gnh-00*yTDOWKf0SM2* Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 That should be it :) ----- Original Message ----- From: "MET" To: 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