Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!mcvax!enea!liuida!obelix!sven-e
From: sven-e@obelix.UUCP (Sven L Eriksson)
Newsgroups: comp.unix.questions
Subject: Re: Sys V does not have a recursive copy cmd...
Message-ID: <487@obelix.UUCP>
Date: Sun, 4-Jan-87 11:47:04 EST
Article-I.D.: obelix.487
Posted: Sun Jan  4 11:47:04 1987
Date-Received: Tue, 6-Jan-87 19:23:10 EST
References: <1269@cadovax.UUCP> <1964@ptsfa.UUCP>
Reply-To: sven-e@obelix.UUCP (Sven L Eriksson)
Organization: University of Linkoping, Sweden
Lines: 24

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.
Otherwise it will work exactly as the find|cpio version.

Wich version is fastest? 

-- 

	Sven L Eriksson
	University of Linkoping
	Sweden

UUCP:	{decvax!mcvax,seismo}!enea!liuida!obelix!sven-e
ARPA:	sven-e@obelix.ida.liu.se