Excelent news! Thanks Mauro, will be waiting ;)
Oliver
Mauro Tortonesi wrote:
On Wednesday 20 April 2005 12:38 am, Oliver Schulze L. wrote:
Hi, it would be nice if you could tell wget not to download a file if the URL matches some pattern. The pattern could be shell like or a regular expresion.
For example, if you do a mirror of a ftp site, and you don't want to download the directories that match the "i686" pattern, you should run a command like this:
wget -m -url-reject="*i686*" ftp://ftp.updates.distro.org/pub/
Then, wget will ignore this paths: ftp://ftp.updates.distro.org/pub/distro1/i686/ ftp://ftp.updates.distro.org/pub/distro2/i686/ ftp://ftp.updates.distro.org/pub/distro3/i686/
but will download this ones: ftp://ftp.updates.distro.org/pub/distro1/i386/ ftp://ftp.updates.distro.org/pub/distro1/athlon/ ftp://ftp.updates.distro.org/pub/distro2/i386/ ftp://ftp.updates.distro.org/pub/distro2/athlon/ ftp://ftp.updates.distro.org/pub/distro3/i386/ ftp://ftp.updates.distro.org/pub/distro3/athlon/
Since you don't have the list of all directories in the ftp site, this
features
can really help wget becomes a even more powerfull mirror tool.
hi oliver,
for the moment the development of wget is in feature freeze state for the upcoming 1.10 release. but we are considering to add regex support to wget 1.11. stay tuned ;-)
-- Oliver Schulze L. <[EMAIL PROTECTED]>
