Return to Snippet

Revision: 4227
at November 9, 2007 10:35 by jrphelps


Initial Code
qlmanage -p *.jpg >& /dev/null

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

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

Initial Description
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.

Initial Title
QuickLook from Terminal

Initial Tags
terminal

Initial Language
Bash