wget download specific filetype from URL

By technese - Last updated: Sunday, November 20, 2011 - Save & Share - Leave a Comment

-U , user-agent
-r , recursive
-l1 -one level
-A , filetype

$ wget -U Firefox -r -l1 -nd -e robots=off -A filetype http://domain.index.html

e.g.

$ wget -U Firefox -r -l1 -nd -e robots=off -A .txt http://technese.com/index.html 

multiple filetypes

$ wget -U Firefox -r -l1 -nd -e robots=off -A filetype1,filetype2 http://domain.index.html]

e.g.

$ wget -U Firefox -r -l1 -nd -e robots=off -A .txt,doc http://technese.com/index.html 

Posted in General • • Top Of Page