2

shortly, how can I make lynx/links use axel/curl for downloading files that i want to store in my hard-disk??

Longley:
I'm a server-manager and always used my ubuntu system and putty so i could copy/paste url with mouse and + :D
but now I don't have any graphical env. to use; so I need a way to download files that I found to download using links/lynx via axel/curl.

Note that I have axel, curl, links and lynx installed on my both server and client machines and also I use ssh to access the text terminal. Also I use bash for my default shell and have (t)csh, dash, and sh on both machines.

Also note that a way to export the exact link url to a text file could work because I still can tell axel/curl to download them with help of bash and python scripting.

Best Regards!

ARF
  • 63

1 Answers1

1

How about elinks instead of links?

If you have in .elinks/elinks.conf:

set document.uri_passing.Save-URL = "echo %c >> ~/urls"
bind "main" "S" = "link-external-command"

Then when you have a URL highlighted in elinks, you can press S to write its URL to ~/urls ...

Steven K
  • 4,556