wget all files of the same type

wget -r -l1 –no-parent -A.pdf http://www.cs.princeton.edu/courses/archive/spr04/cos226/lectures/
here get the PDF files.

wget -r -l1 –no-parent -A.zip http://www.blabla.com/whatever.html

gets the zip files mentioned as linked in whatever.html page

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s