Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have searched many solutions on what is the best way to search a .pdf, and if a page named spec_out is located in the .pdf it will insert the first bookmark before other bookmarks as Spec Out. I'm trying to do it within the terminal of Ubuntu. More than likely I'll make a shell script of it. I reviewed PDFtk, pdfWriteBookmarks, LaTeX, pdfpages, and pdfmark, but I am not seeing a solid solution. I did see someone donated some .py script per another thread but I haven't tried my hand at python yet.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.