I hate to do this, but I am still stumped by this. Can anyone pass along a tip or two with regards to using -X?

Thanks,

/vjl/

[repost follows]:


Hi all,

I'm using GNU Wget 1.9.1 under Mac OS X, and I'm trying to confirm that I have the correct syntax for using the -X [or --exclude-directories] argument.

For example, I have a URL which I would like to wget with a -r. The URL contains many directories that are named, ".backup". I do not wish to download those directories. The way I've been attempting to do that is as follows:

wget -r --exclude-directories='*.backup*' --no-parent \ http://example.com/dir/stuff/

This does not appear to work. What is the proper syntax for wget's regex engine?

Thanks for any tips you can provide...

/vjl/

Reply via email to