URL:
<http://savannah.gnu.org/bugs/?33827>
Summary: wget: -A/-R vs. -O
Project: GNU Wget
Submitted by: nok
Submitted on: Sa 23 Jul 2011 11:04:12 CEST
Category: Program Logic
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.12
Operating System: GNU/Linux
Reproducibility: None
Fixed Release: None
Planned Release: None
Regression: None
Work Required: None
Patch Included: None
_______________________________________________________
Details:
Hello,
http://bugs.debian.org/565942
When using recursive retrieval with recursive
accept/reject, the accept/reject patterns are
applied against both remote file names and saved
file names. This is documented behavior, and
also documented as controversial.
However, it turns out that the patterns are also
applied against the argument of -O, when given.
That is, my selection of which files to download
limits my options of naming the one file I want
to download them all into.
If this is not clear, consider this session, quote:
"""
$ wget 'http://glz.co.il/NewsIndexSub.aspx?NewsCatIdD' -O x.html -r
WARNING: combining -O with -r or -p will mean that all downloaded content
will be placed in the single file you specified.
Resolving glz.co.il... 192.117.152.67
Connecting to glz.co.il|192.117.152.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 43333 (42K) [text/html]
Saving to: "x.html"
100%[>] 43,333 188K/s in 0.2s
2010-01-19 23:12:50 (188 KB/s) - "x.html" saved [43333/43333]
Removing x.html since it should be rejected.
"""
That last line can't be right.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33827>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Replies