Can anyone help me with wget command line preferences?

cjchaps

Diamond Member
Jul 24, 2000
3,013
1
81
I want to download the .html files only from a website. No pics or anything, just the html/txt. What would the command line for that be?
-Thanks
 

ugh

Platinum Member
Feb 6, 2000
2,563
0
0
Not sure whether you can specify what files to use. But this is what I use to grab websites:

wget -r --level=1 <web url>