Or just skip the shell entirely:
tar -C /dest/dir -xf - tar -C /dest/dir -xf - tar cf - src/ | ssh $host "tar -C /dest/dir -xf -"No encryption necessary No integrity checks No resume support Just plain and as fast it could get..
I need to try the netcat version but I'm hoping someone could show me a concurrent version of it that is mad fast.
< /path/to/source ncat remote-host 8001
On your destination machine: ncat -l 8001 > /path/to/dest
Though in most situations with files of reasonable size, you're probably going to be better off running through `gzip -c`.