wget: Turn Off Forced .html Retreival
Posted
by Mike B
on Super User
See other posts from Super User
or by Mike B
Published on 2010-04-20T17:13:26Z
Indexed on
2010/04/20
17:24 UTC
Read the original article
Hit count: 520
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?
© Super User or respective owner