pydelion.com

nc: transfer files via network

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
Exit mobile version