OSX: Quick Look From the Command Line


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

Quick Look is the little window you get in Finder when you select a file and press the space bar. You can get the same from the command line with the following command (-p is a full window, -t is a thumbnail). You can even output it to a file with the -o option


Copy this code and paste it in your HTML
  1. qlmanage -p /PATH/TO/FILE/.txt|pdf|mp3|etc...
  2. qlmanage -t /PATH/TO/FILE/.txt|pdf|mp3|etc...

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.