Skip to content

Netcat

Copy file

Source (server, listen port)

nc -lp 1234 -q 1 < out.file

Destination (client)

nc <SOURCE-IP> 1234 > in.file
... with progress bar (pv)

`bash nc <SOURCE-IP> 1234 | pv > in.file