nc -v -l 2222 > /dev/null
dd if=/dev/zero bs=1024K count=512 | nc -v $IP_OF_FIRST_MACHINE 2222
On target: "nc -l 4000 | tar xvf -" On source: "tar -cf - . | nc target_ip 4000"
On target: "nc -l 4000 | lz4c -d - | tar xvf -" On source: "tar -cf - . | lz4c | nc target_ip 4000"