Tuesday, May 11, 2010

Netcat Tar

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


Courtesy : Sifoo Zaman.

No comments:

Post a Comment