This started by downloading some e-books from our national education government sites which consists of e-books of some subjects which parted into chapters.
I was just thinking that “could they just be combined into one file only ?” Based on this article, i got my answer : we can !! First, download some files from terminal by typing ;
* sudo apt-get install gs pdftk
Second, execute those pdfs * gs dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combinedpdf.pdf -dBATCH 1.pdf 2.pdf 3.pdf
Which OUTPUTFILE=the name of combination file 1.pdf 2.pdf 3.pdf are the name of the partial pdfs
After you run the above command, a new PDF file called combinedpdf.pdf will be created with your individual files merged according to the order that you have you listed.
regards; E
sumber : http://oedha.wordpress.com/2008/08/05/combinesome-pdfs-into-one/