Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want a command that I type a URL, for example photos.tumblr.com, and it download all photos on this site in a folder, but not only images of the site's homepage. This command need to download the images from all parts of the site, such as photos.tumblr.com/ph1/1.png / photos.tumblr.com/ph3/4.jpg.

Please show me an example using this url: http://neverending-fairytale.tumblr.com/ and test it before answer the question

share|improve this question
up vote 5 down vote accepted

wget can do it:

wget -A.png,.jpg,.gif,.jpeg -e robots=off -m -k -nv -np -p \
--user-agent="Mozilla/5.0 (compatible; Konqueror/3.0.0/10; Linux)" \

The only problem can be in case site generates its content using javascript.

share|improve this answer
Note for people trying to do this with HTTPS: you might need --no-check-certificate to get it to connect. – user23150 Sep 10 '12 at 13:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.