[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] mirroring one sourceforge package?
From: |
Micah Cowan |
Subject: |
Re: [Bug-wget] mirroring one sourceforge package? |
Date: |
Thu, 31 Mar 2011 15:51:58 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
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/