I'm using this
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dAutoRotatePages=/None -sOutputFile=finished.pdf file1.pdf file2.pdf file3.pdf
to concatenate 3 PDF files, and gs
inexplicably takes the title of one of them and uses it as the title of the new document (shown in the title bar by the PDF viewer). I wonder if the new title could be specified explicitly?
/DOCINFO
structure so for examplegs ... -sOutputFile=finished.pdf -f file1.pdf file2.pdf file3.pdf -c "[ /Title (My New Title) /DOCINFO pdfmark"
– steeldriver Mar 28 '21 at 23:24