uucping whole trees & rcp

Walt Pesch wbp at cuuxb.UUCP
Wed Dec 24 16:28:11 AEST 1986


In article <2006 at brl-adm.ARPA> Herndon at 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 at lll-crg



More information about the Comp.unix.questions mailing list