On destination host :
cd /dir_to_receive
nc -l 4747 | tar -xvf -
On source host:
cd /dir_to_send
tar c /dir_to_send | nc destination_host 4747
On destination host :
cd /dir_to_receive
nc -l 4747 | tar -xvf -
On source host:
cd /dir_to_send
tar c /dir_to_send | nc destination_host 4747