User Tools

Site Tools


bash_script_dnld_book

Warning: Use of undefined constant PREG_PATTERN_VALID_LANGUAGE - assumed 'PREG_PATTERN_VALID_LANGUAGE' (this will throw an Error in a future version of PHP) in /var/www/kucjica/emperors-wiki/inc/parser/xhtml.php on line 633

Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /var/www/kucjica/emperors-wiki/inc/parser/xhtml.php on line 633

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
bash_script_dnld_book.txt · Last modified: 2015/10/23 12:27 by zoza