Re: tar, cpio, or cp?
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, <tharan@int-evry.fr>
The determined programmer can write a FORTRAN program in any language.
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: