Lynx command to download files

by Manoj 2012-04-21 17:42:23

Lynx command is useful to browser websites via command line

lynx URL

To download a file

lynx -source URL > filename

eg: To download from the web using Lynx from the Unix command line prompt, enter: lynx -source URL > filename Replace URL with the URL of the page or image that you want to download. Replace filename with a filename that you want to give to what you are downloading. For example, if you are trying to download a web page at the address, and you'd like to name the page on your account myhero.html, then you'd enter: lynx -source > myhero.html

If you want to download a web page in formatted output (i.e., without HTML tags, but instead as it would appear in Lynx), then enter: lynx -dump URL > filename

Tagged in:


You must LOGIN to add comments