[oe] [meta-networking][PATCH 0/2] ncp - a fast file copy tool for LANs

André Draszik git at andred.net
Tue Nov 15 15:43:09 UTC 2016


"ncp" is a utility for copying files in a LAN. It has absolutely
no security or integrity checking, no throttling, no features,
except one:
  you don't have to type the coordinates of your peer.

Basically it works like this:

- You and your buddy want to play Quake
- Your buddy has a level that you don't have
- He types npush filename and waits. npush sends out UDP
  announcement packets proclaiming that someone wants to
  send something
- You type npoll. npoll waits until it sees one of these packets
- The files are copied with tar over a TCP socket, so permissions
  and file dates (and if you are root, owners) are preserved
- There are other usage modes. You can also use it like this:

  peer1$ ncp
                           peer2$ ncp peer1 file1 file2 file3
or like this:

  peer1$ npush file1
                           peer2$ npoll peer1




More information about the Openembedded-devel mailing list