3 ms·
The canonical Unix method is to use tar in a pipeline to transfer them (assuming none exist at the destination): tar -cf - /source | ssh destination "cd /desti
by pwg 4y ago
The canonical Unix method is to use tar in a pipeline to transfer them (assuming none exist at the destination):
tar -cf - /source | ssh destination "cd /destination ; tar -xf -"
However there are as many different ways of doing what you ask as there are opinions, so you may get far more "methods" than you ever knew existed.
If some number of them are already at the destination, then rsync will only send the ones that don't exist, and the ones that differ. What kind of performance will result for "thousands of small files" is a different matter (and note that in today's world, "thousands" is a relatively small number).
- photoGrant 4y ago(It's cheekily what I was hoping for.... A more naunced argument...) But I got just one reply, hah! I appreciate your input! And yes, probably on the low end, you're right -- but it's the starting point at which the connection speed becomes irrelevant it seems like. So where I'm most curious.