Diomidis Spinellis wrote:

> You can also use ports/net/socketpipe.  For example you can copy a
> directory with:
> 
> socketpipe -b -i { tar cf -  directory  }  -l  { ssh  remotehost }  -r
> { tar xvf - }

Just curious, what is the advantage of this approach to the following :

tar cf - directory | ( ssh remotehost 'cd targetdir && tar xpf -' )

Something with buffering perhaps ?

regards,
  Hans Lambermont
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to