The goal is to use command line to open a PDF file to a specific page. The more general question is how do I find out what args are available for any given app? I am able to open a pdf file in Mac OS X command line with the
open command, and knows that you can pass args, but couldn't figure out the exact args to put to open the PDF file to page 5.
Tried the following blindly, and didn't work…
open file.pdf --args -page=5 open file.pdf --args -p 5 open file.pdf --args -page 5
Have seen this question, but the solution requires installing evince or write Apple Script. Is there no easy solution in just passing –args in Mac just like in Windows command line?