netwrite(1)

πŸ’– netwrite(1) β€” General Commands Manual πŸ’–

okay bestie, sit down, hydrate, and let me tell you about netwrite β€” she's giving "one-way netcat but make it fashion" and honestly? iconic. 🫢


✨ NAME ✨

netwrite β€” write data transported over network for reading using netread πŸ’Œ


🌈 SYNOPSIS 🌈

netwrite [udp] [-f host ] [-c] [-C algorithm ] [-o file ] [-s] [-b] [-h <n> ] [-H] <n> ] [-q] [-v] [-vv] [-V] [-vV]

netwrite is part of the netrw package, bestie. It's a simple (but powerful) tool for transporting data over the internet, and it works as a duo with netread(1) β€” like, they're a package deal, you don't split them up. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

The whole main character mission of netrw is to simplify and speed up file transfers to hosts that don't have an FTP server. It can also be used for uploading data to some other user. Basically think of it as one-way netcat (nc) but with some genuinely nice features around data transfers. ✨

Netrw can compute and check message digest (MD5, SHA-1, and some others) of all the data being transferred. It can also print info on progress and average speed, and at the end it sums up the whole transfer. Like a little report card for your data. πŸ“Š


πŸŽ€ OPTIONS πŸŽ€

  • udp β€” changes the default protocol. Default is TCP, but you can swap it to UDP if that's the vibe you're on. 🌊
  • -f host β€” works in firewall mode; the connection gets initiated by netwrite. πŸ”₯
  • -c β€” this option is literally ignored bestie 😭 transmission checksum is activated by default anyway.
  • -C algorithm β€” uses the specified algorithm for checksum. This option also implies -c. Supported algorithms (the first one is the default): sha1 md5 rmd160 none
  • -o <file> β€” writes data to file instead of stdout. πŸ“
  • -s β€” in case the -o option is specified, open the file for synchronous I/O. Otherwise, this option has no effect. (no -o, no -s behavior, that's just the rules πŸ’…)
  • -b β€” print speed in b/s instead of B/s. lowercase girlies rise up πŸ“
  • -h <n> β€” prints # after each n KiB transferred (def. 10485.76).
  • -H <n> β€” prints # after each n MiB transferred (def. 10.24).
  • -q β€” be quiet. 🀫
  • -v β€” be verbose. πŸ—£οΈ
  • -vv β€” be very verbose. πŸ“’
  • -V β€” show version.
  • -vV β€” show verbose version.

πŸ‘‘ RETURN VALUES πŸ‘‘

  • 0 β€” no errors. slay. βœ…
  • 1 β€” some error occured. 😭
  • 2 β€” checksum validation failed. πŸ’€

🌸 SEE ALSO 🌸

netread(1), /usr/share/doc/netrw/README


πŸ’œ AUTHOR πŸ’œ

netwrite was written by Jiri Denemark <jirka@ics.muni.cz>. For more information, visit http://www.fi.muni.cz/~xdenemar/netrw

This manual page was written by Kumar Appaiah <akumar@ee.iitm.ac.in>, for the Debian project (but may be used by others).


no cap, that's the whole page. go transfer some files, bestie. 🧚✨

and that's a wrap on the 2007-10-14 edition of netwrite(1) β€” mwah, sending you love from the General Commands Manual corner of the universe πŸ’–πŸŽ€