====== Download a book from e.g. arg org ====== the book is a set of images, numbered in order of pages #!/bin/bash for i in {1..190}; #replace the second number with the actual number of pages do wget http://link.to.an.image.net/x1000-$i.jpg #replace the url with the actual book done convert x1000* book.pdf