On Fri, Nov 21, 1997 at 01:40:51PM -0500, Alex Yukhimets wrote:
> Does anyone know the best way to copy a huge directory tree (~1Gig)
> to another disk (mounted at some point)? I need to preserve the
> ownerships and permissions, preservation of times are optional.

You can try :

(cd dir1 && tar cv *) | (cd dir2 && tar xf -)

which preserves everything (dunno about times however).

olive
-- 
                Olivier Tharan, <[EMAIL PROTECTED]>

The determined programmer can write a FORTRAN program in any language.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to