I have been trying to mirror my FTP site with WGet for most of the day, but it
has not been working. I thought that it was a problem with me, until I logged
into a Windows box and used VisualWget with the same command, and saw it work
PERFECTLY. I am a Linux newbie, but I can tell you that I am
I'm moving a site from one server to another, and want to use wget
-m combined w/ diff -auwr to help make sure the site looks the same
on both servers.
My problem: wget -m sitename.com always downloads the site at its
*current* IP address. Can I tell wget: download sitename.com, but
pretend the
modify /etc/hosts temporarily on the computer you are running wget
to add a line similar to
1.2.3.4 sitename.com # temporary hack to get new web site
pull the files then remove that line from /etc/hosts. this assumes
that /etc/hosts has precedence over dns (and yp or whatever) on your