How? The key is a Unix program, qlmanage, introduced in OS X 10. 5 and built into macOS.
This program was really designed for programmers writing Quick Look generators, but we can use it for our own purposes. To see the Quick Look preview for any file, just type qlmanage -p somefile, where somefile is the full name of a file in the current directory.
…
Read more