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 outputIt 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.
Extract PDF table of contents and bookmark metadata
command line;pdf