transfer files with netcat
17 Jan 2021
Here goes a quick note about how to transfer files in a LAN between computers using netcat which is available in a wide range of platforms because of its simplicity.
Receiving node (192.168.1.74)
$ mkdir backup/ && cd backup/ $ nc -l -p 7000 | pv (optional, pretty ETA visualizator) | tar x
Sending node
$ tar cf - * | nc 192.168.1.74 7000
That’s it, happy sharing, 😊