tar fs copy

Mikel Manitius mikel at codas.UUCP
Sat Oct 19 10:29:36 AEST 1985


> 	(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.
-- 
	Mikel Manitius  - ...{ihnp4|akguc|attmail|indra!koura}!codas!mikel



More information about the Comp.unix.wizards mailing list