Package: wget Version: 1.12-1.1 Severity: normal
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?NewsCatId=44' -O x.html -r --level=1 -A'newsArticle.aspx' WARNING: combining -O with -r or -p will mean that all downloaded content will be placed in the single file you specified. --2010-01-19 23:12:49-- http://glz.co.il/NewsIndexSub.aspx?NewsCatId=44 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. Thanks, Shai. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages wget depends on: ii dpkg 1.15.5.6 Debian package management system ii install-info 4.13a.dfsg.1-5 Manage installed documentation in ii libc6 2.10.2-5 Embedded GNU C Library: Shared lib ii libssl0.9.8 0.9.8k-8 SSL shared libraries wget recommends no packages. wget suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

