Wget

From Leo's Notes
Revision as of 06:27, 3 June 2013 by Leo (talk | contribs)
This page was last edited on 3 June 2013, at 06:27.

wget to console

Use the -O - option to output contents to the console.

wget -O - http://google.ca

Since the contents go to stdout, you can pipe it to a shell:

wget -O - http://scripthost.local/fix_graphics.sh | sh

Save to Directory

Use the -P to specify the prefix of the output file.

wget -P /tmp http://google.ca/


wget on FreeBSD

wget is available in ports under ftp/wget