"Andrzej " <[EMAIL PROTECTED]> writes: > I mirrored the chemfan site using those options: > > wget -m -nv -k -K -E -nH --cut-dirs=1 -np -t 1000 -D wbc.lublin.pl -o > $HOME/logiwget/logchemfan.pl -P $HOME/web/chemfan.pl -p > http://znik.wbc.lublin.pl/ChemFan/ > > and unfortunately the links are not converted properly in the mirror: > http://chemfan.pl.feedle.com/ > Try clicking on any of them. > Instead of > http://chemfan.pl.feedle.com/Powitanie/index.html > I have: > http://chemfan.pl.feedle.com/home/andyk/web/chemfan.pl/Powitanie/index.htm > > How to correct options to have it correctly converted?
It is a consequence of using -P in older versions of Wget. That bug has been fixed in Wget 1.10 (currently in alpha). You can work around it by not using -P, but cd'ing to the desired directory instead.
