In other words, you'd want to NOT do timestamping (-N or --timestamping, implicitely turned on by -m) for the first file but do it for later ones. I don't think you can do that currently with one invocation of wget.
What you could do is change your script - download (even with -m or -N) that first file only (without recursion, no -r); then start wget a second time with -m -r -i path_to_index.html -B http://newton.uam.mx/xgeorge/ in order to check all those secondary links. Should not be a problem since you do use a script anyway. Heiko -- -- PREVINET S.p.A. [EMAIL PROTECTED] -- Via Ferretto, 1 ph x39-041-5907073 -- I-31021 Mogliano V.to (TV) fax x39-041-5907087 -- ITALY > -----Original Message----- > From: Vassilii Khachaturov [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 29, 2002 12:11 AM > To: [EMAIL PROTECTED] > Subject: recursive mirror of new children w/old parent broken > (wget-1.8) > > > Hi, > I am using the following script to mirror pages from > http://newton.uam.mx/xgeorge/ > in the local directory (served as http://www.tarunz.org/~xgeorge/): > > wget -q -t10 -c -T120 -nH --cut-dirs=1 -r -m -np > http://newton.uam.mx/xgeorge/ > > Now, if the remote directory index document (mapped to the local > index.html) is not newer than its mirrored local copy, the mirror > process stops; whereas I am expecting it to also check if the > child pages have to be mirrored. This is exhibited by the attached > 'stale.log.gz'. If I forcibly remove the local index.html, > it does mirror index.html, and then proceeds on to properly mirroring > the changed child documents (as seen is the second attachment, > 'forced.log.gz'). > > I hope this is enough to describe the bug; > but I will be happy to answer any additional questions > or test any patch for you. > > Kind regards, > Vassilii >
