4 ms·
Rsync adds a lot of overhead- The fastest way I've found to transfer a file is actually the venerable netcat. On the receiving side, we open a socket, and dire
by e1ven 17y ago
Rsync adds a lot of overhead- The fastest way I've found to transfer a file is actually the venerable netcat.
On the receiving side, we open a socket, and direct it into a file-
nc -p 5678 -l > file.name
then, on the sending side, run
nc 192.168.47.1 5678 < file.name
That avoids the key exchange, the overhead of compression, the CPU to check for diffs, etc.
Just pure copy.
I'd be curious the difference in speed you get.
- ralph 17y agoIf you like netcat, look at socat(1). It does everything nc(1) does and more.