====== PDF Management with QPDF ====== Although LMDE comes bundled with a pdf "Document Viewer" that allows to view pdf files, this utility doesn't provide the ability to reorganize the content of your pdf files.\\ For example, if you are willing to combine many separate pdf files into one single document, Document Viewer won't be able to help you do that. The QPDF library can come to the rescue at that point. You'll simply have to install it using: <code> > sudo apt-get install qpdf </code> You are invited to read the [[http://qpdf.sourceforge.net/files/qpdf-manual.html|QPDF manual on sourceforge.net]] to learn more about what is possible to achieve using this nifty little utility, here is simply an example of one use case: combining multiple single page pdf documents into one multi-page pdf file. Let's imagine you have a directory //~/workshop// containing a few pdf files and you want to combine all those separated files into one single pdf document, you'd issue a command resembling the following to do this: <code> > cd ~/workshop/ > ls CT034994.PDF CT035001.PDF CT035003.PDF CT035000.PDF CT035002.PDF CT035004.PDF > qpdf --empty multipage.pdf --pages *.PDF 1-z -- > ls CT034994.PDF CT035001.PDF CT035003.PDF multipage.pdf CT035000.PDF CT035002.PDF CT035004.PDF </code> What the command options mean: * **empty**: do not use any input file * **multipage.pdf**: your output file name * **--pages**: use qpdf Page Selection Options * ** *.PDF**: select all file names ending with .PDF * **1-z**: use all pages from the selected .PDF document, in ascending order Once again refer to the above mentioned manual to learn all the possible options to be used with the qpdf command.