Re:Quick tip for developers who use OS X
by micampe on Monday January 13, 2014 @12:40PM
(#7052038)
Also very useful for similar use cases is qlmanage.
[ Parent
| on HN ]
This seems to run whatever code usually runs when you hit [space] on a filename in a Finder window. (Except that it outputs a bunch of debugging information.) Under what circumstances is that any better or more useful than "open"?
Correct (man 1 qlmanage). Depending on the type of file, it is usually faster to open quicklook than opening the file in its default application, especially if you just want to take a look and you don’t actually need to edit the file.