Sometimes you need to copy files between two Linux servers. While scp and rsync seem to be the obvious choice, often using netcat nc is slightly faster. Read on for a short example... You need to run the following command on the source machine:
# (cd / && tar -cvf - ) | nc destinationip 31337
On the destination machine run this command:
# nc -l -p 31337 | tar -xvf -
| < Prev | Next > |
|---|