Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 1999 18:17:59 -0700 (MST)
From:      Brent Rector <brentr@tccsweb.com>
To:        Joss Roots <osiris2002@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How to tar and gzip a directory
Message-ID:  <Pine.BSF.4.05.9912311817320.5502-100000@web2.tccsweb.com>
In-Reply-To: <19991231222349.5436.qmail@web109.yahoomail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The syntax you want is

tar cf - home | gzip > home.tar.gz



--------------------------------------------------------------------------
Brent L. Rector			SoHo Internet Services & TCCSweb
SysAdmin			(604) 979-2141
brentr@tccsweb.com		http://www.tccsweb.com
--------------------------------------------------------------------------
Your mouse has moved.  Windows must be restarted for the change
   to take effect.   Reboot now?  [ OK ]     
--------------------------------------------------------------------------


On Fri, 31 Dec 1999, Joss Roots wrote:

> hi all,
> I was doing some backup, and I am using
> tar to gather the whole directory into one
> big .tar file, then run gzip on that .tar
> to produce a tar.gz file.
> 
> I know it is possible to do that as one step
> by using the pipe, but not sure of the exact
> command line, I appreciate giving me a hint.
> 
> thanks in advance.
> 
> 
> =====
> MAY THE FORCE BE WITH YOU.
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://messenger.yahoo.com
> 
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9912311817320.5502-100000>