From owner-freebsd-questions Mon Feb 1 13:56:14 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA22592 for freebsd-questions-outgoing; Mon, 1 Feb 1999 13:56:14 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from c4.joe.to (www.joe.to [207.88.224.251]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA22585 for ; Mon, 1 Feb 1999 13:56:12 -0800 (PST) (envelope-from joe@joe.to) Received: from www.joe.to (www.joe.to [207.88.224.251]) by c4.joe.to (8.9.1/8.9.0) with ESMTP id NAA23724; Mon, 1 Feb 1999 13:56:08 -0800 (PST) Date: Mon, 1 Feb 1999 13:56:07 -0800 (PST) From: Joe Lira To: cjclark@home.com cc: BMICK@bigpond.com, questions@FreeBSD.ORG Subject: Re: Tar Files In-Reply-To: <199902012032.PAA00478@cc942873-a.ewndsr1.nj.home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG well i will keep my mouth shut from now on until i know what i'm doing :) by the way, a friend of mine and I got a sweet little telnet chat program running. feel free to stop by ( telnet joe.to port 7227 ) it interfaces the the web in numerous ways: www.joe.to/cgi-bin/stats www.joe.to/current.shtml www.joe.to/cgi-bin/profiles?command=view this page requires you to have logged in to the chat system first www.joe.to/cgi-bin/mail?command=login joe 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, 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