I have a folder with tens of thousands of files that I need to scp to another box. As doing one file at a time is very timeconsuming, and as I don't have harddrive space to make a compressed tar archive of all the tiles — I'd like to do the following:
Tar whole archive on the fly and pass it directly over scp to the other box and untar it immediately there. That way I can get full bandwidth (no need to start each file) and I won't run out of space by duplicating the whole archive.
My A box is OSX, B is Ubuntu.
Is there a one-liner for this?