Package: wget
Version: 1.13-1
Severity: normal
Tags: upstream

Try this (stupid example):

  wget -m -np -A *.txt -X */2011/* http://www.debian.org/News/

wget still traverses the entire 2011 hierarchy, even though it
should really just ignore it. As a reminder, here is the info page
entry for -X:

  `-X LIST' `--exclude-directories=LIST' Specify a comma-separated
  list of directories you wish to exclude from download (see
  "Directory-Based Limits").  Elements of LIST may contain
  wildcards.

It says "exclude from download", which may mean that it should still
crawl the contents for links to contents outside of the listed
directories. However, in the context of its counterpart -I, which
says "follow when downloading", I think the intended use is to not
follow links into the listed directories.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wget depends on:
ii  dpkg                    1.16.0.3         Debian package management system
ii  install-info            4.13a.dfsg.1-8   Manage installed documentation in 
ii  libc6                   2.13-18          Embedded GNU C Library: Shared lib
ii  libgcrypt11             1.4.6-9          LGPL Crypto library - runtime libr
ii  libgnutls26             2.12.7-7         GNU TLS library - runtime library
ii  libgpg-error0           1.10-0.3         library for common error values an
ii  libidn11                1.22-3           GNU Libidn library, implementation
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

wget recommends no packages.

wget suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to