Quick and Easy File Transfer with netrw
The two tools use the classical Linux approach – reading from standard input and writing to standard output – which makes it possible to send the output of a program directly to
netwrite. You can omit the
-o option or redirect the output of the data to appear on the screen of the receiving computer (Figure 5).
If you do not specify an input file or an output file,
netwrite reads from the standard input and displays on the standard output. You can use this to build a makeshift chat tool (Figure 6).
If you intend to use this tool over a route outside of your private network, you'll want to secure the communication using Secure Shell (SSH). You need one terminal each for transmitting and receiving. Additionally, you must use a separate port for each direction.
The netrw tools make it easy to transfer data between two computers. They do not rely on any intermediate infrastructure and work practically on demand. And, if you encrypt the payload, you will always be on the safe side when transmitting data.
- Netrw: http://mamuti.net/netrw/index.en.html
- Code for this article: ftp://ftp.linux-magazin.com/pub/listings/magazine/163
- Stat (Coreutils): http://www.gnu.org/software/coreutils/
- Zenity: https://wiki.gnome.org/action/show/Projects/Zenity?action=show&redirect=Zenity
- Cdialog: http://freecode.com/projects/cdialog
Buy this article as PDF
Four-inch-long computer on a stick lets you boot a full Linux system from any HDMI display device.
New statute would require companies to report break-ins to consumers.
Weird data transfer technique avoids all standard security measures.
FIDO alliance declares the beginning of the end for old-style login authentication.
The Linux New Media Awards have honored the most significant products, projects, people, and organizations for open source/Linux every year since 2000.
Legendary Uber-distro splits over the systemd controversy.
New LTS version offers many refinements for the Cinnamon and Mate desktops and significant improvement under the hood.
One of CeBIT’s most successful forums returns in 2015.
A new study says it is possible to unmask 81% of TOR users.
Redmond joins the revolution by turning the .NET Core Runtime into a GitHub project.