On 03/31/2011 03:45 PM, Karl Berry wrote:
> Then I thought I would try
> to exclude the numerous "stats" items, but failed.  I tried
> 
> wget -m -np -nv -R login.php -X stats 
> http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/current/
> wget -m -np -nv -R login.php,stats 
> http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/current/
> wget -m -np -nv -R login.php,stats\* 
> http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/current/
> 
> and none of them actually stopped url's like 
> 
> http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/current/binaries/stats/timeline

Yeah... -X matches a full directory path, so for the above you have to use

-X /projects/biblatex-biber/files/biblatex-biber/current/binaries/stats

If it can occur deeper down in the hierarchy, there's no help but to add
more -X, replacing that final /stats with /*/stats, /*/*/stats, etc,
until you feel like you've covered enough of them.

-R always matches only the filename portion of the URL (not including
anything before the final slash, or anything after a ?). There's
currently no way to request a match against something anywhere in the
URL (though this was planned to be addressed at some point, and may in
fact already have something in the current dev sources, I don't know).

-- 
Micah J. Cowan
http://micah.cowan.name/

Reply via email to