Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!cbatt!ihnp4!houxm!ho95e!wcs
From: wcs@ho95e.UUCP
Newsgroups: comp.unix.questions
Subject: Re: Sys V does not have a recursive copy cmd...
Message-ID: <1248@ho95e.UUCP>
Date: Wed, 7-Jan-87 10:38:09 EST
Article-I.D.: ho95e.1248
Posted: Wed Jan  7 10:38:09 1987
Date-Received: Thu, 8-Jan-87 02:08:07 EST
References: <1269@cadovax.UUCP> <1964@ptsfa.UUCP> <487@obelix.UUCP>
Reply-To: wcs@ho95e.UUCP (Bill Stewart 1-201-949-0705 ihnp4!ho95c!wcs HO 2G202)
Organization: AT&T Bell Labs, Holmdel NJ
Lines: 14

In article <487@obelix.UUCP> sven-e@obelix.UUCP (Sven L Eriksson) writes:
>In article <1964@ptsfa.UUCP> jmc@ptsfa.UUCP (Jerry Carlin) writes:
>>In article <1269@cadovax.UUCP> mitchell@cadovax.UUCP (Mitchell Lerner) writes:
>>>... System V does not have a cp that does recursive copies...
>>Try "find . -print|cpio -pduvm /foo/bar/...".
>Another way to do this copy is to use tar. (Tape file ARchiver)
>	tar cf - . | (cd todir ; tar xf - )
>If you use this command links between files in the tree will be kept.

With either method, make sure your ulimit is large enough for any files
that you may be copying.  I've been burned by copying a multi-megabyte
database with a 1MB ulimit.  (Yes, I think ulimit is brain-damaged too.)
-- 
# Bill Stewart, AT&T Bell Labs 2G-202, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs