Editing .pdf files

We need first to install the package pdftk. To install pdftk \framebox{
\texttt{
\textcolor{red}{\bf sudo apt-get install pdftk}
}
}

The nice thing is that one can use it all from the commandline, therefore we do not need to install Adobe for linux or things like that.

  1. Merge Two or More PDFs into a New Document
    \framebox{
\texttt{
\textcolor{red}{\bf pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf}
}
}

  2. Split Select Pages from Multiple PDFs into a New Document
    \framebox{
\texttt{
\textcolor{red}{\bf pdftk A=one.pdf B=two.pdf cat A1-7 B1-5 A8 output combined.pdf}
}
}

  3. Burst a Single PDF Document into Single Pages and Report its Data to doc_data.txt
    \framebox{
\texttt{
\textcolor{red}{\bf pdftk mydoc.pdf burst.}
}
}



Webmaster: Christian E. Salas Eljatib, E-mail: christian.salas@yale.edu