wget: Turn Off Forced .html Retreival
- by Mike B
When performing a recursive download, I specify a pattern via the -R parameter for wget to reject, but if this file is a HTML file, wget downloads the file regardless of whether or not it matches the pattern.
e.g.
wget -r -R "*dynamicfile*" example.com
still retrieves files such as example.com/dynamicfile1.html
Is there a way to prevent this?