2

Is there a command-line tool that can extract only the table of contents and bookmarks as metadata from a pdf?

I found the pdftk dump_data tool/command:

pdftk in.pdf dump_data output

It works but only for small files. Also, it seems to parse the entire file. I only want metadata about the table of contents and bookmarks.

mbigras
  • 3,100

0 Answers0