Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 1999 13:40:06 -0800 (PST)
From:      Gary Kline <kline@tera.com>
To:        ejs@bfd.com (Eric J. Schwertfeger)
Cc:        cjclark@home.com, joe@joe.to, BMICK@bigpond.com, questions@FreeBSD.ORG
Subject:   Re: Tar Files
Message-ID:  <199902012140.NAA27708@athena.tera.com>
In-Reply-To: <Pine.BSF.4.05.9902011236520.28173-100000@harlie.bfd.com> from "Eric J. Schwertfeger" at "Feb 1, 99 12:38:04 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902012140.NAA27708>