nc transfer directory

Directory transfer using nc command

Uses TCP connections for file transfers and does not provide data encryption or authentication

receiver

  • ip 192.168.1.200
nc -l -p 2222 | tar -xvf -

sender

  • Send catalog lotus
tar -cf - lotus | nc 192.168.1.200 2222

Insert image description here

Guess you like

Origin blog.csdn.net/u010953692/article/details/134731416