DOKK / manpages / debian 12 / libwww-perl / lwp-mirror.1p.en
LWP-MIRROR(1p) User Contributed Perl Documentation LWP-MIRROR(1p)

lwp-mirror - Simple mirror utility

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

This program can be used to mirror a document from a WWW server. The document is only transferred if the remote copy is newer than the local copy. If the local copy is newer nothing happens.

Use the "-v" option to print the version number of this program.

The timeout value specified with the "-t" option. The timeout value is the time that the program will wait for response from the remote server before it fails. The default unit for the timeout value is seconds. You might append "m" or "h" to the timeout value to make it minutes or hours, respectively.

Because this program is implemented using the LWP library, it only supports the protocols that LWP supports.

lwp-request, LWP

Gisle Aas <gisle@aas.no>

2023-03-01 perl v5.36.0