[comp.unix.questions] uucping whole trees & rcp

wbp@cuuxb.UUCP (Walt Pesch) (12/24/86)

In article <2006@brl-adm.ARPA> Herndon@HI-MULTICS.arpa writes:
>I don't know what version of UNIX you are using, but BSD 4.2 machines
>have the "rcp" (remote copy) command.  If one specifies the command
>with the -r option the command will copy from one machine to the other
>all files and directories rooted at the name specified.
>
>    rcp -r <path> <host:path>


Actually, this is dependant on TCP/IP, which happens to be a part of
BSD 4.2.  And if you are really tacky (or a bad typist), you can use
"rcp -r <src> <dest>" in place of "find <src> -print | cpio -pdmuv 
<dest>".  It will get the files from here to there in a very timely
fashion, though I'm pretty sure it doesn't maintain timestamps.  N.B.
this is for Wollongong TCP/IP, dunno about others.


Walt Pesch
{ihnp4,akgua,cbosgd,et al}!cuuxb!wbp
cuuxb!wbp@lll-crg