How is it possible to pipe out
wget's downloaded file? If not what alternatives should I use?
wget -O - -o /dev/null http://google.com
Or use curl, where it's the default behaviour.
There are other methods you can use instead of wget and curl:
You can use lynx:
# lynx -source http://www.google.com
# w3m -dump_source http://www.google.com
and libwww-perl comes with a handy program called GET (as well has HEAD and POST, which do what you think they do)
# GET http://www.google.com
Just to add another option: I often use lwp-request, from libwww-perl, for this. It outputs to STDOUT by default and is more likely than curl to be installed on the systems I use (your situation my vary).
This is how I did it:
URL='http://wordpress.org/extend/plugins/akismet/' curl -s "$URL" | egrep -o "http://downloads.wordpress.org/plugin/[^']+" | xargs wget -qO-
I suggest to use Aria2. It's powerful downloader.
protected by Sven♦ Jan 28 '16 at 16:27
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?