Thursday, 17 September 2015

nc usage (alternative to scp)

nc usage
=========

Source

cd /ud1001/pmwaci/oradata

tar -zcf - . | nc -l 6050    

(if nc not installed copy to /tmp loaction and use command => tar -zcf - . | /tmp/nc -l 6050)


Target

cd /ud5001/emwaci/oradata

nc server_name  6050 | tar -zxf - ./
(source server name)



No comments:

Post a Comment