The command does not create a tar file, it uses STDIN and STDOUT.

Mike

On Wed, 2003-03-19 at 17:23, Greg Meyer wrote:
> On Wednesday 19 March 2003 08:11 pm, Michael Noble wrote:
> > To copy directories and files keeping ownership and permissions, etc the
> > same, use the following:
> >
> > tar cf - <dir> | (cd <path to new location>;tar xf -)
> >
> > Do this as root.
> >
> I don't understand why you would want to go through the additional overhead of 
> creating a tar file when "cp -a" will do the same thing.
> 
> -- 
> Greg
> 
> ----
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
Michael Noble
mailto: [EMAIL PROTECTED]


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to