bcp - neat file copying on a LAN.
Stumbled across a nice alternative (for me) to rcp and a neat way in transferring files on a LAN.
bcp - Broadcast copy - "An easy way to copy files between terminals or computers on a local network."
The usage of bcp is relatively easy:
Sending a file:
$ ./bcp [filename]
Receiving a file:
$ ./bcp
Usefully, I've used this to transfer my projects to my Raspberry Pi in headless mode.
The code and more examples is over at Github:
https://github.com/jwilberding/bcp
And you can install bcp with a oneliner:
$ bash -c "mkdir /tmp/bcp && cd /tmp/bcp && curl -L# https://github.com/jgallen23/bcp/archive/master.tar.gz | tar zx --strip 1 && make install"
Hope this was useful! :]
Written by Wesley Hill
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#