Adding bookmarks using GS
gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=out.pdf in-*.pdf pdfmarks
Where out.pdf is the generated PDF, in- * .pdf are the input PDFs, and pdfmarks is a text file with contents like:
[/Title (Title Page) /Page 1 /OUT pdfmark [/Title (Table of Contents) /Page 3 /OUT pdfmark ...
Nice and ...
more ...