wget

May 14th, 2009 by usage | Filed under Linux/Unix, Mac OS, Operating Systems

How to download a site using wget

wget --mirror --convert-links --backup-converted --html-extension -o domain.log http://domain.com/

Download the file in background.

wget -bd http://domain.com/file.zip -o file-download.log

 

Will download all the links from the list.txt file and pretending that it’s Firefox.

wget –continue –verbose –input-file=”list.txt” –output-file=”list.log” –user-agent=”Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1″

tag_iconTags: | |

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a comment.

To leave a comment, please fill in the fields below.