Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2006 09:28:38 +0200
From:      hans@lambermont.dyndns.org (Hans Lambermont)
To:        Diomidis Spinellis <dds@aueb.gr>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: scp -c none (was Re: NFS client slow on amd64 6.2-PRERELEASE #2)
Message-ID:  <20061009072838.GG48167@leia.lambermont.dyndns.org>
In-Reply-To: <4529612C.8000908@aueb.gr>
References:  <200610081454.k98Eseas063823@lurza.secnetix.de> <4529612C.8000908@aueb.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061009072838.GG48167>