Recursive copy

Marc Evans Ultrix Q/A evans at testmax.ZK3.DEC.COM
Tue Dec 5 00:13:53 AEST 1989


I can think of a couple of different ways to solve your problem.

Option 1:

cd $directory_to_copy
cpio -padvm . $target_directory_name

Option 2:

cd $directory_to_copy
tar cf - | (cd $target_directory_name && tar xvf -)

==========================================================================
Marc Evans - WB1GRH - evans at decvax.DEC.COM  | Synergytics    (603)893-8481
     Unix/X-window Software Contractor      | 3 Koper Ln, Pelham, NH 03076
==========================================================================



More information about the Comp.unix.questions mailing list