[PLUG] wget -c

Christian Brink cbrink at brinkrods.com
Tue Apr 11 17:27:14 UTC 2006


Christian wrote:
> I need to download my entire site to a new machine so that I can manage 
> it. I believe that the command is...
> wget -c www.mysite.com
> but how do I send it to a specific folder? So that I can find it...

That command will not do what you want it to. '-c' is for continuing a 
failed download.

But I would recommend against doing a site grab, it does not guarantee 
you will get all the files. You'll only get files that have a link from 
another page on the site.

Your best option is to Tar the directory on the original server and 
download that. If you're being hosted and do not have cli access, I 
would ask the tech support to Tar it up for you - it only takes a few 
seconds.


> Also, where does it go if I have just entered in the command above?

It would go to the current directory.


Christian Brink





More information about the PLUG mailing list