[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Re: wget ignoring wildcards with exclude directories?
From: |
Micah Cowan |
Subject: |
[Bug-wget] Re: wget ignoring wildcards with exclude directories? |
Date: |
Sat, 20 Jun 2009 16:26:20 -0700 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090409) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
enb wrote:
> When executing wget with the --mirror option and
> --exclude-directories='*foobar*' doesn't seem to exclude any directories
> that have foobar in their name. Is there a trick to getting exclude
> directories to work?
Hi! Please post support requests to the address@hidden mailing list.
The * don't match directory separators, so that pattern will only match
directory names at the root level. Unfortunately, Wget doesn't currently
have a way to match arbitrary sets of directories (a la Vim's **), so
you may have to do
- --exclude-directories='*foobar*,*/*foobar*,*/*/*foobar*'...
- --
HTH,
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Maintainer of GNU Wget and GNU Teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAko9b6UACgkQ7M8hyUobTrG02ACfSUQi4qlO9V+9i/D/MKyF2qDB
n8MAnRpzVJk43p60pwuk29jqyy2dWEyH
=jQKr
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-wget] Re: wget ignoring wildcards with exclude directories?,
Micah Cowan <=