Date: Mon, 1 Feb 1999 15:32:49 -0500 (EST) From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: joe@joe.to (Joe Lira) Cc: BMICK@bigpond.com, questions@FreeBSD.ORG Subject: Re: Tar Files Message-ID: <199902012032.PAA00478@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <Pine.BSF.4.05.9902011052010.20850-100000@c4.joe.to> from Joe Lira at "Feb 1, 99 10:52:56 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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, to be more guruish, % tar cvf - * | gzip -c > filename.tar.gz To do the same thing on one line. HTH. -- Crist J. Clark cjclark@home.com 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?199902012032.PAA00478>