From owner-freebsd-ports Sun Aug 11 06:44:42 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA13390 for ports-outgoing; Sun, 11 Aug 1996 06:44:42 -0700 (PDT) Received: (from jmb@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA13384; Sun, 11 Aug 1996 06:44:41 -0700 (PDT) From: "Jonathan M. Bresler" Message-Id: <199608111344.GAA13384@freefall.freebsd.org> Subject: Re: using tar To: chuckr@glue.umd.edu (Chuck Robey) Date: Sun, 11 Aug 1996 06:44:41 -0700 (PDT) Cc: FreeBSD-Ports@FreeBSD.ORG In-Reply-To: from "Chuck Robey" at Aug 10, 96 00:52:39 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Chuck Robey wrote: > > I want to use tar to move a directory hierarchy, but I want to do it > without using a temp directory, and I don't know the syntax to make tar > create an archive to stdout, then read from stdout to extract the acrchive > elsewhere. Anyone else know it? I want to use it to transport something > from usr/local (not /usr/local, thank goodness) to $(PREFIX). cd tar cf - | ( cd ; tar xvfBp - ) jmb