Serve the disk image:
$ dd if=/dev/hda | nc -l -p port
Receive the image:
$ nc -w3 hostname port | dd of=/dev/hda
OR
On the receiving end do:
$ netcat -l -p 7000 | tar x
And on the sending end do:
$ tar cf - * | netcat otherhost 7000
$ dd if=/dev/hda | nc -l -p port
Receive the image:
$ nc -w3 hostname port | dd of=/dev/hda
OR
On the receiving end do:
$ netcat -l -p 7000 | tar x
And on the sending end do:
$ tar cf - * | netcat otherhost 7000
Nenhum comentário:
Postar um comentário