I have a website: http://www.example.com/
This website has a subdirectory: http://www.example.com/images/
This subdirectory contains numerous subdirectories with images inside of them:
- http://www.example.com/images/01
- http://www.example.com/images/02
- http://www.example.com/images/03
- etc.
When I try wget from the images directory, it downloads each directory (01/,02/, etc) and an index.html inside of each one. It doesn't download any of the images. e.g.
wget -r http://www.example.com/images/ <- doesn't download pngs
wget -r http://www.example.com/images/01/ <- does download pngs
How can I use wget to download all the pngs from all the subdirectories of the images/ directory without going through each subdirectory (01/,02/,03/, etc.) one by one?