Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Using Quick Look from the Command Line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Using Quick Look from the Command Line
Authored by: arcticmac on Jul 13, '10 06:16:05PM

I'm a fan of the -o option to qlmanage, which causes it to output the native form that it actually displays. Usually, this is amounts to reducing to an image, a PDF, RTF, or HTML. For example, it can be useful as a way to take source code and get a syntax-highlighted version as RTF.

For example:
qlmanage -p -o /tmp myfile.cpp



[ Reply to This | # ]