Faster copy over ssh.

Tech Notes

SFTP is all well and good. Rsync is better. But when you have thousands of small files it can really drag. This snippet uses tar to bundle the files together and bring them over as a lump. ssh remotehost "( cd /somewhere ; tar cf - something ) " | tar xf - Via http://www.koopman.me/2008/11/tar-pipe-ssh/