How to use regular expressions in wget for rejecting files?
问题 I am trying to download the contents of a website using wget tool. I used -R option to reject some file types. but there are some other files which I don't want to download. These files are named as follows, and don't have any extensions. string-ID for example: newsbrief-02 How I can tell wget not to download these files (the files which their names start with specified string)? 回答1: You can not specify a regular expression in the wget -R key, but you can specify a template (like file