Page 1 of 1

Assemble without duplicate

Posted: Thu Feb 19, 2026 10:11 am
by r.zegwaard
Hi,

I need to assemble 2 jobs in a folder based on jobname and/or metadata.
Jobs are named like this File_<number>-Part<code>.pdf
File_1234-PartA.pdf
File_1234-PartB.pdf
File_5678-PartA.pdf
File_5678-PartB.pdf

As the job-identifier, I want to use the number in the filename. Sofar it's quite easy.
But... the part code must be unique.
So, if 2 jobs with exactly the same name arrive, they should not be assembled.

Any suggestions?

Robert

Re: Assemble without duplicate

Posted: Fri Mar 06, 2026 9:43 am
by roninhehe
You could group the files by the number in the filename, then check that each Part code is unique before assembling. If two files have the same job name and same Part code, skip the assembly to avoid duplicates.