Problems with Merge pdf files with pdftk

Any questions involving matching text strings to patterns - the pattern is called a "regular expression."

Moderator: General Moderators

Post Reply
nithinkk
Forum Commoner
Posts: 55
Joined: Sat Nov 28, 2009 7:57 am

Problems with Merge pdf files with pdftk

Post 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 ???
User avatar
twinedev
Forum Regular
Posts: 984
Joined: Tue Sep 28, 2010 11:41 am
Location: Columbus, Ohio

Re: Problems with Merge pdf files with pdftk

Post 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
Post Reply