by palebluedot · 8y ago · 0 comments
You should use '&&' instead of ';' on the host side. That way you don't accidentally dump your transfer contents into a wrong directory if the existing host dir doesn't exist.
e.g.: tar cf - stuff | ssh host "(cd /dest/dir && tar 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.