Side compression side transmission

 

 

Note firewall port restrictions.

# Compress and transfer files

tar CZF - file name or folder | nc receiving end of the receiving end ip port

# To accept and unzip the file

NC -l receiving end open port |    the tar -xzvf - - C / Home / GLC / tmp /

 

Guess you like

Origin www.cnblogs.com/igoodful/p/11699239.html