Using netcat on both ends makes it easy.
On recipient computer (whose IP is 192.168.1.5)
netcat -l -p 2000 | dd of=some.file(-l is for listen, -p is the port number)
On sending computer:
dd if=some.file | netcat 192.168.1.5 2000I actually used this to copy a partition (hence the dd command). I haven't tried this with a file as shown, but it should work with files just the same.
No comments:
Post a Comment