Wednesday, December 30, 2009

Using wget to download bulk or batch or whole directories

I needed to download all the images in a directory. Seemed like wget was the right tool.

A bit of research gave me

    wget -r -l1 --no-parent -A.JPG "site.com/images/"

You can change the JPG to jpg or GIF or gif or png etc to suit.

No comments: