-----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 [email protected] 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-----
