Posted By

jrphelps on 11/09/07


Tagged

terminal os x quick leopard look


Versions (?)

QuickLook from Terminal


 / Published in: Bash
 

URL: http://www.tuaw.com/2007/11/05/terminal-tip-use-quick-look-from-the-leopard-command-line/

qlmanage -p foo.png, the image immediately pops up in a Quick Look pane.

Even better, Quick Look supports slide shows. So if you cd into a folder of images and run qlmanage -p *.jpg, you'll be rewarded with a full-on presentation of your pictures.

Other qlmanage flags of interest include -h (displays a help message) -t (thumbnail generation) and -f (a zoom factor to display with).

The downside of qlmanage is that it's full of NSLog-style messages. Haber recommends you pipe the output into /dev/null as follows: qlmanage -p *.jpg >& /dev/null.

  1. qlmanage -p *.jpg >& /dev/null
  2.  
  3. flags of interest include -h (displays a help message) -t (thumbnail generation) and -f (a zoom factor to display with)

Report this snippet  

You need to login to post a comment.