Wget and asterisk character
I'm trying to download all the files in a directory while excluding those with a particular part in their name.
The filter I'm using is
wget (blah blah) -R "*300*.*, *400*.*"
This should mean "exclude any file of any extension that has "300" in its name. The numbers are the resolution; I'm trying to get it to not download the thumbnails. The large pictures do not have the resolution appended, so it should download them.
Wget correctly doesn't download files ending in (say) "picturewhatever-(number)-300x280", but will download those ending in "picturewhatever-(number)-240x300". Same goes with 400.
Why is this?
Thanks.
Last edited by Changes; 12-25-2008 at 08:50 PM.
|