Copy Files on a Local Network with bcp

Dmitri Popov

Productivity Sauce

Feb 25, 2013 GMT
Dmitri Popov

Need to quickly copy a file between machines on a local network? There are several tools that can do the job, including bcp. This tiny utility lets you broadcast and fetch individual files on the local network. To deploy bcp, grab the latest source code from the project's GitHub repository and compile it:

git clone git://github.com/jwilberding/bcp.git
cd bcp
make

Move the created bcp binary to the /usr/bin directory, and make it executable by running the chmod +a /usr/bin/bcp command as root. To share a file, use the bcp filename command which broadcasts the file on the network. To fetch the file from any other machine on the network, simply issue the bcp command. No muss, no fuss.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News