Wget: Difference between revisions
From Leo's Notes
This page was last edited on 3 June 2013, at 06:27.
No edit summary |
|||
| Line 17: | Line 17: | ||
wget -P /tmp http://google.ca/ | wget -P /tmp http://google.ca/ | ||
== wget on FreeBSD == | |||
wget is available in ports under <code>ftp/wget</code> | |||
Revision as of 06:27, 3 June 2013
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