Re: How do I prevent wget from creating index.html?C=M;O=A ?

2007-02-12 Thread Anton J . Gamel
Hi Evert Evert Meulie evert at witelcom.net writes: that I can exclude the index.html?* wildcard...? afaik there's no way (with official releases) to do this. (If you mirror this site often, why not use a script and delete them afterwards?) That is not a bad idea either! Does

Re: How do I prevent wget from creating index.html?C=M;O=A ?

2005-11-08 Thread Evert Meulie
The Gentoo forum provided me with the following script, that seems to do the job: for dir in $(find /path/to/downloads -type d); do rm $dir/index.html?* rm $dir/index.html done (from http://forums.gentoo.org/viewtopic-t-399594.html ) Regards, Evert Evert

Re: How do I prevent wget from creating index.html?C=M;O=A ?

2005-11-08 Thread Alan.Hall
A less resource intensive solution might be: find . -name index*.html |xargs rm Alan. Evert Meulie wrote the following on 11/8/2005 2:58 AM: The Gentoo forum provided me with the following script, that seems to do the job: for dir in $(find /path/to/downloads -type d); do rm

Re: How do I prevent wget from creating index.html?C=M;O=A ?

2005-11-08 Thread Evert Meulie
But that would also wipe out all legitimate index.html files, right? ;-) Evert Alan.Hall wrote: A less resource intensive solution might be: find . -name index*.html |xargs rm Alan. Evert Meulie wrote the following on 11/8/2005 2:58 AM: The Gentoo forum provided me with the

Re: How do I prevent wget from creating index.html?C=M;O=A ?

2005-11-08 Thread Alan.Hall
So would the one in the for loop. I just used the ., but you could do the same path as in the for loop: find /path/to/downloads -name index*.html |xargs rm The problem with specifying the /path/to/downloads is that if the contents are very large, some systems will error with the The

Re: How do I prevent wget from creating index.html?C=M;O=A ?

2005-11-08 Thread Oliver Schulze L.
This line: rm $dir/index.html?* rm $dir/index.html says: If (the files $dir/index.html?* exists ) then delete $dir/index.html?* delete $dir/index.html end if HTH Oliver Alan.Hall wrote: So would the one in the for loop. I just used the ., but you could do the same path as in the for

Re: How do I prevent wget from creating index.html?C=M;O=A ?

2005-11-07 Thread Evert Meulie
Hi! Thanks for the reply. Since I have no control over the server from which I'm pulling the mirror AND I do not want to live with these files ( 8-) ), I was wondering whether there's a way to exclude certain file names, so that I can exclude the index.html?* wildcard...? Regards,

Re: How do I prevent wget from creating index.html?C=M;O=A ?

2005-11-07 Thread Evert Meulie
Tobias Tiederle wrote: Evert Meulie schrieb: Hi! Thanks for the reply. Since I have no control over the server from which I'm pulling the mirror AND I do not want to live with these files ( 8-) ), I was wondering whether there's a way to exclude certain file names, so that I can exclude