"Caddell, Travis" <[EMAIL PROTECTED]> writes: > I'm stuck with Windows at my office :( > But what option offered by wget would allow the user to specify the name of > the folder that the web site would be saved in. > For example if I were to " wget -cdr www.cnn.com " the folder would be > named www.cnn.com BUT for instance if I wanted to specify the name of the > folder to be saved as MyNews - is there a command for that?
Sure. Use `-P MyNews' -- then it will be saved to MyNews/www.cnn.com/... You can further disable the host name component in the file name with `-nH', in which case it will be just `MyNews/...'. > Another question along the same lines - If I wanted to use an input > file "wget -i C:\MyNewsLinks.txt " and then save each one in their > own folder Cnn (instead of www.cnn.com) WashPost (instead of > www.washingtonpost.com) - Is there a command for that too. I don't think that's possible.