Tarball (on-the-fly) coupled with the power of openssh
This little process will create a tarball from a specified directory, then transfer it via ssh and extract it on the fly. The advantage of this method is the tarball is never needed to be created, transferred and then extracted. ( tar -cf – ./ ) | ( ssh user@host ‘mkdir test101 && cd test101 … Read more