huesler-informatik My 2 cents

Quicktip - Preview files directly from the terminal on OSX

This is quick tip week. Have you ever wanted to preview a file on OSX with quick view without leaving the console. Well here is how:

qlmanage -p file
So if you wanted to preview the file image.png you would type:
qlmanage -p image.png
If you want to see the thumbnail preview of a file instead, just use -t instead of -p. To close the window either click the cross on the upper right corner or hit control-c to cancel the process. Happy previewing!