LWP-MIRROR(1p)
πΈ LWP-MIRROR β the manual page (but make it cute) πΈ
okay bestie, so you know lwp-mirror? it's the Simple mirror utility from the User Contributed Perl Documentation, and it's honestly so iconic for what it does. it's giving tiny-but-mighty. π
β¨ SYNOPSIS β¨
lwp-mirror [-v] [-t timeout] <url> <local file>
that's it. that's the whole vibe. two args, two optional flags, and she's slaying. π¦
π DESCRIPTION π
so here's the tea: this program mirrors a document from a WWW server. that's the whole job. main character energy, no drama.
and here's the part that lowkey makes her smart: the document is only transferred if the remote copy is newer than the local copy. that's it. that's the rule. and if the local copy is newer? nothing happens. literally nothing. she just sits there, unbothered, moisturized, in her lane. β¨
if you wanna print the version number of this program, you hit it with the -v option. periodt.
now, about that -t option β the timeout value. ngl this one matters. the timeout value is the time that the program will wait for a response from the remote server before it fails. so if the server ghosts you, she's not waiting forever, she has β¨boundariesβ¨.
the default unit for the timeout value is seconds. and you can also append m or h to the timeout value to make it minutes or hours, respectively. so cute, so convenient. π
heads up bestie π because this program is implemented using the LWP library, it only supports the protocols that LWP supports. no cap. if LWP can't do it, she can't do it either. that's just the arrangement. π
π«Ά SEE ALSO π«Ά
lwp-requestLWP
go read those too, iykyk. π₯
π AUTHOR π
Gisle Aas <gisle@aas.no>
the legend herself (well, the legend β credit where it's due π). obsessed.
and that's the whole page bestie, no notes. this is perl v5.40.1, dated 2026-05-14, from the LWP-MIRROR(1p) family. mirror responsibly, love u, bye! πβ¨ππ¦πΈπ
π¦ where this page comes from
- ubuntu stonking: libwww-perl 6.83-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms