QuickLook from Terminal


/ Published in: Bash
Save to your folder(s)

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.

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.