Friday, July 23, 2010

Netcat Tar across machines.

This is suitable if you don't have enough space on the source machine.


On sender :

tar -czf - directory-name | nc -l 3333

on receiver :

nc sender-ip-address 3333 > mybackup.tar.gz