giovedì, dicembre 22, 2016

concatenate pdf files with ubunbtu

$ sudo apt-get install pdftk 

$ pdftk f1.pdf f2.pdf f3.pdf cat output f123.pdf

In order to remove an (unknown) password from a protected pdf use this command:

$ gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=unencrypted.pdf -c .setpdfwrite -f encrypted.pdf

Nessun commento: