5
2
Mac OS X has the very convenient open
command to open any file from the command line in the same way that the Finder would.
thilo$ open a.pdf
Is there a similar command for opening the file with Quick Look?
5
2
Mac OS X has the very convenient open
command to open any file from the command line in the same way that the Finder would.
thilo$ open a.pdf
Is there a similar command for opening the file with Quick Look?
10
qlmanage -p file
will do what you want, I think.
2I have it aliased to
qlmanage -p 2>/dev/null
to suppress error messages. – Doug Harris – 2010-02-25T16:56:20.013qlmanage -p /PATH/TO/FILE
works like a charm. If you need more info checkman qlmanage
– Chealion – 2010-01-09T08:39:33.5631Nice. I'll alias that to "ql". – Thilo – 2010-01-10T00:56:41.507