Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2000 12:53:03 -0400
From:      "Passki, Jonathan P" <jpasski@kpmg.com>
To:        "'martian@t-online.de'" <martian@t-online.de>, questions@freebsd.org
Subject:   RE: how to copy directory and contents?
Message-ID:  <7799D023E51ED311BFB50008C75DD7B40223B2D3@uschiexc05.kweb.us.kpmg.com>

next in thread | raw e-mail | index | archive | help
> Or I find doing this very common command helpful on large data moves:

> cd /<source_dir_and_all_below_it>

I don't mean you have to cd to every directory below the source, just the
source.  It will copy all contents from the source on.  Sorry about any
confusion :/

> tar cf - . | (cd /<remote_dir>; tar xf -)
> 
> It'll may beat up on the processor and memory, and if it 
> doesn't swap too
> much, I think it would transfer less data in the move because of the
> tarring.  This saves wear and tear on your drives and disk system.
> 
> Jon
> 
> 
*****************************************************************************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing KPMG client engagement letter.         
*****************************************************************************


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?7799D023E51ED311BFB50008C75DD7B40223B2D3>