LWP-MIRROR(1)

πŸ’… LWP-MIRROR(1) β€” like, the mirror utility page, bestie πŸ’…

okay so real talk: the manual name is LWP-MIRROR, it lives in the User Contributed Perl Documentation section of the manual, and it's giving extremely handy little tool. let's get into it 🫢


✨ NAME ✨

lwp-mirror β€” a Simple mirror utility πŸͺžβœ¨


πŸŽ€ SYNOPSIS πŸŽ€

lwp-mirror [-v] [-t timeout] <url> <local file>

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: this program mirrors a document from a WWW server. and the iconic part? the document only gets transferred if the remote copy is newer than the local copy. no cap. and if the local copy is newer? literally nothing happens. it just vibes. πŸ’€

use the -v option to print the version number of this program. slay.

then there's the timeout value, which you specify with the -t option. the timeout value is the time that the program will wait for a response from the remote server before it fails. the default unit for the timeout value is seconds. and here's the cute part: you might append m or h to the timeout value to make it minutes or hours, respectively. iykyk πŸ•

⚠️ sooo important: because this program is implemented using the LWP library, it only supports the protocols that LWP supports. that's the whole vibe check. no extra protocols for us, bestie 😭

🌸 SEE ALSO 🌸

  • lwp-request
  • LWP

go give them a little read, they're literally the besties of this page 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Gisle Aas <gisle@aas.no> β€” an absolute legend, periodt πŸ’œ


perl v5.42.0 Β· 2026-05-18 Β· LWP-MIRROR(1) β€” that's the version + date + page name lineup at the bottom, and honestly? she ate. πŸ’…βœ¨ go mirror something, bestie πŸͺžπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from