From owner-freebsd-questions Mon Feb 1 13:40:23 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20129 for freebsd-questions-outgoing; Mon, 1 Feb 1999 13:40:23 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gershwin.tera.com (gershwin.tera.com [207.224.230.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20123 for ; Mon, 1 Feb 1999 13:40:21 -0800 (PST) (envelope-from kline@tera.com) Received: from athena.tera.com (athena.tera.com [207.224.230.169]) by gershwin.tera.com (8.8.8/8.8.8) with ESMTP id NAA12588; Mon, 1 Feb 1999 13:40:07 -0800 (PST) From: Gary Kline Received: (from kline@localhost) by athena.tera.com (8.7.5/8.7.3) id NAA27708; Mon, 1 Feb 1999 13:40:06 -0800 (PST) Message-Id: <199902012140.NAA27708@athena.tera.com> Subject: Re: Tar Files In-Reply-To: from "Eric J. Schwertfeger" at "Feb 1, 99 12:38:04 pm" To: ejs@bfd.com (Eric J. Schwertfeger) Date: Mon, 1 Feb 1999 13:40:06 -0800 (PST) Cc: cjclark@home.com, joe@joe.to, BMICK@bigpond.com, questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL23 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Eric J. Schwertfeger: > On Mon, 1 Feb 1999, Crist J. Clark wrote: > > > Joe Lira wrote, > > > to compress * into filename.tar: > > > > > > tar -cvf * filename.tar > > > > Two things, > > > > 1) The archive name/device should be the first argument, i.e. > > > > % tar cvf filename.tar * > > > > 2) tar does not do compression. If you want to do compression try, > > > > % tar cvf filename.tar * > > % gzip filename.tar > > or just tar czvf filename.tar.gz * > > under FreeBSD, since it has that option (Is FreeBSD using gnu tar, out of > curiosity?) > FreeBSD does use tar|gtar (aka GNU tar) which has builtin [un]compression. Anybody know if there is a script that can automatically uuencode|uudecode tar'd and gzip'd files? A -U flag to gtar could automatically turn `[g]tar czUvf tarball.tgz *' into `tarbal.uu', and `tar xzUvf tarball.uu' into `tarball.tar'. So much code to hack, so little time.... --gdk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message