NC commands to transfer files or folders between Linux servers

Source: Internet
Author: User
Sometimes, the online server uploads files or folders, does not do the secret key, do not know the user's relevant password, SCP and rsync can not be used.

It is recommended that you use NC commands to communicate between Linux servers, provided that you can ping each other.

Folder:
Server that accepts files Nc-l 9995 | Tar zxvf-(can get Local intranet ip-1.1.1.1, later need to copy to another server, 9995 port consistency, can be arbitrary)
File Server tar zcvf-file name/* | NC 1.1.1.1 9995

File:
Receive end NC-L 1234 > abc.log IP for 1.1.1.1
Send End Nc-w 1.1.1.1 1234 < Abc.log

It is so simple, fast and convenient.

NC commands to transfer files or folders between Linux servers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.