Page 1 of 1

Problems with Merge pdf files with pdftk

Posted: Tue Jul 12, 2011 2:32 am
by nithinkk
I am having 10 pdf file in a folder. Using pdftk i'm merging it.

Code: Select all

 pdftk *.pdf cat output Newpdf.pdf
It was working fine still all the pdf files are in good condition. If out of 10 one file is corrupted we will get an Error saying the file cannot open and it will stop merging files.

I'm using script to do this and it will exit with out merging the file if any one of the pdf is corrupted.

Is there any way to make the pdftk to merge the pdf files which are in good conditions and exclude corrupted ones ???

Re: Problems with Merge pdf files with pdftk

Posted: Thu Jul 14, 2011 10:52 am
by twinedev
Think this needs moved to another section, as it seems nothing to do with Regular Expressions. Then you may get more help.

-Greg