On 22/09/2025 01:49, Michael Paoli wrote:
On Sat, Sep 20, 2025 at 7:48 AM Tom Browder wrote:The PDF Tool kit (pdftk) can be used if you're smart enough to decipher the man page\$ man pdfunite | col -b | expand | sed -ne '/SYN/{N;p};/EXA/{N;p;q}' SYNOPSIS pdfunite [options] PDF-sourcefile1..PDF-sourcefilen PDF-destfile EXAMPLE pdfunite sample1.pdf sample2.pdf sample.pdf $ dpkg -S /usr/bin/pdfunite poppler-utils: /usr/bin/pdfunite
A decade ago exiftool was unable to add metadata to files created by pdfunite. There was no this issue if files were merged by gs.
gs -dSAFER -dQUIET -dNOPAUSE -sDEVICE=pdfwrite \ -sOutputFile=out.pdf in*.pdf -c quitI have no idea if a better strategy to combine files has been implemented in poppler-utils since that time.