Re: how lynx processes downloads?
"G. Branden Robinson" <[email protected]> Tue, 13 May 2025 21:02:06 -0500
| Newsgroups | gmane.comp.web.lynx.devel |
|---|---|
| Message-ID | <20250514020206.m2l4xsdblrdbavls@illithid> |
At 2025-05-13T21:48:50-0400, Karen Lewellen wrote:
> The reason is, as I just discovered, wget does not allow you to create
> a filename like a browser might. Instead wget downloads the url and
> with dropbox that is a long series of characters that is quite a mess
> in the end.
wget doesn't interactively prompt for a file name, but does support an
option to designate the output file name.
wget(1):
-O file
--output-document=file
The documents will not be written to the appropriate files, but
all will be concatenated together and written to file. If - is
used as file, documents will be printed to standard output,
disabling link conversion. (Use ./- to print to a file
literally named -.)
Use of -O is not intended to mean simply "use the name file
instead of the one in the URL;" rather, it is analogous to
shell redirection: wget -O file http://foo is intended to work
like wget -O - http://foo > file; file will be truncated
immediately, and all downloaded content will be written there.
[further caveats snipped]
Regards,
Branden
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmgj+ZcACgkQ0Z6cfXEm bc6GXA/+OLoXHVRo10LQv+LdVWYPkBZXC6hRm9yp92XJRnHj8CWmJ9O1Nx6S60px TEPWr8NhIDQt+JmyyjU+Hg5ZSVJwYWjS5p0c9zMUyBrIfZI9Pjn1lvlTQuCDMSXF YB4jCJHIQLVU5ss7a9m3ktQ7x5o2zgYMTWcxz3thxFvsp2VAzcdXkMMlrxhUryUM JrozOH8cCpGhs/BztAeJBrOsalGnE2MqYT8jaI910Jbs1ZFv3qu+Pi1mKPWWY8gv OpzPJa11xxrhL/OGh7TUU/V5DI68xb12TuiDN+Py8raYsTMeg+Nn8lKU8fi7mfOc h6qBw8WQ4HnYUHhOtMAGH09HIwmJqPSXfE78MCe+Rb9SmvXGJMZxdMsnzgFr0RpF 0wNyDuTA7A1bqsz8MTV/7G2b5NnxsQW7UyhLq3xf69YBY25i2IkT8vkv3zGkeg5o UGZfTMzhef+IH1OpnMUVJeiTorVilJgwDz9qX5F4DjKEMmHb2bP79CDRdkpDW4Do QUq0J5QphhwgKrhJbdhKfAkI0KpcWymv/O1Xe+rooNlIPH02b8fZAvhwa4xm8hhv 3Eo190TauqoLRTxUxtuMGxkfZ7RqGmCqKZX0I/vjYM35hBpQ0u3jxcrFKquUbeG3 9POcMMGniPWAZBa5a86m4sgJItbZArcSGdlZJRff6qxjM+mLPpE= =FAj5 -----END PGP SIGNATURE-----