Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC840302); site daab.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!mcvax!enea!daab!lasse
From: lasse@daab.UUCP (Lars Hammarstrand)
Newsgroups: net.unix-wizards
Subject: Re: tar fs copy
Message-ID: <169@daab.UUCP>
Date: Sat, 26-Oct-85 00:40:44 EST
Article-I.D.: daab.169
Posted: Sat Oct 26 00:40:44 1985
Date-Received: Tue, 29-Oct-85 00:43:06 EST
References: <832@burl.UUCP> <221@drivax.UUCP> <842@burl.UUCP>
Reply-To: lasse@daab.UUCP (Lars Hammarstrand)
Organization: Datorisering AB, Stockholm, Sweden
Lines: 35

In article <313@codas.UUCP> mikel@codas.UUCP (Mikel Manitius) writes:
>> 	(cd $1; tar cf - .) | (cd $2; tar xf -)
>
>or (cd $1; find . -print | cpio -o .) | (cd $2; cpio -idu)
>for those without tar.
>
>What I really wish our System V people would do is put in the -r flag
>(for recursive) on cp(1), like Berkeley did a long time ago.
>-- 

*** NO!!!!!, THAT'S NOT GOOD ENOUGH. ****

Why doesn't anybody write a GOOD AND PORTABLE cptree(1) with some flags
like this....	(It shall manage to copy special files too)

	cptree [flags...] fromdir todir [file list or pattern...]	

 	(copy only files matching [file list or pattern...]) (*?[])

	-f	force	(overwrite any file with the same name).
	-t	time.
	-v	vebose.
	-n	not matching [file list or pattern...] (*?[])
	-i	take pattern from [inputfile] or standard-input.
	-c	create dir if it's not there.
	..	forgotten anything?

..and you say, why don`t you?

I have tried but I don't have the time to make it complete so I let someone
else to do it instead!


	Lars Hammarstrand.
	Datorisering AB, Stockholm, SWEDEN.