<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Quick Look from the command line!</title>
	<atom:link href="http://srhaber.com/blog/2007/11/04/quick-look-from-the-command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://srhaber.com/blog/2007/11/04/quick-look-from-the-command-line/</link>
	<description>Fan of music, technology, and sports.</description>
	<pubDate>Fri, 29 Aug 2008 00:27:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Pwhndvve</title>
		<link>http://srhaber.com/blog/2007/11/04/quick-look-from-the-command-line/#comment-8028</link>
		<dc:creator>Pwhndvve</dc:creator>
		<pubDate>Sat, 09 Aug 2008 17:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.srhaber.com/2007/11/04/quick-look-from-the-command-line/#comment-8028</guid>
		<description>Rimsky went look closer &lt;a href="http://bebo.com/CytotecB9/" rel="nofollow"&gt;buy cytotec&lt;/a&gt; then announced daughters.</description>
		<content:encoded><![CDATA[<p>Rimsky went look closer <a href="http://bebo.com/CytotecB9/" rel="nofollow">buy cytotec</a> then announced daughters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://srhaber.com/blog/2007/11/04/quick-look-from-the-command-line/#comment-8015</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 13 May 2008 00:46:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.srhaber.com/2007/11/04/quick-look-from-the-command-line/#comment-8015</guid>
		<description>Is there a way to export/capture the quicklook thumbnail as an image? It seems this should be basic or at least easy to do, but I can't find anything on Google.

Hrm...

If not, what's the easiest way to automate turning HTML links to PDFs into the thumbnails of those PDFs?</description>
		<content:encoded><![CDATA[<p>Is there a way to export/capture the quicklook thumbnail as an image? It seems this should be basic or at least easy to do, but I can&#8217;t find anything on Google.</p>
<p>Hrm&#8230;</p>
<p>If not, what&#8217;s the easiest way to automate turning HTML links to PDFs into the thumbnails of those PDFs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pecos Bill</title>
		<link>http://srhaber.com/blog/2007/11/04/quick-look-from-the-command-line/#comment-7933</link>
		<dc:creator>Pecos Bill</dc:creator>
		<pubDate>Fri, 09 Nov 2007 22:39:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.srhaber.com/2007/11/04/quick-look-from-the-command-line/#comment-7933</guid>
		<description>Actually, save yourself the navigation in the Finder. Just do
&#62; open .

and the Finder will open a new window with that path.</description>
		<content:encoded><![CDATA[<p>Actually, save yourself the navigation in the Finder. Just do<br />
&gt; open .</p>
<p>and the Finder will open a new window with that path.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Bullock</title>
		<link>http://srhaber.com/blog/2007/11/04/quick-look-from-the-command-line/#comment-7932</link>
		<dc:creator>Kevin Bullock</dc:creator>
		<pubDate>Fri, 09 Nov 2007 20:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.srhaber.com/2007/11/04/quick-look-from-the-command-line/#comment-7932</guid>
		<description>Speaking of &lt;code&gt;open&lt;/code&gt;, I added the following to my .bashrc:

&lt;code&gt;function open () {
  if [ -z "$*" ]; then
    /usr/bin/open .
  else
    /usr/bin/open "$@"
  fi
}&lt;/code&gt;

Now instead of typing &lt;code&gt;open .&lt;/code&gt;, I can just type &lt;code&gt;open&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<p>Speaking of <code>open</code>, I added the following to my .bashrc:</p>
<p><code>function open () {<br />
  if [ -z "$*" ]; then<br />
    /usr/bin/open .<br />
  else<br />
    /usr/bin/open &#8220;$@&#8221;<br />
  fi<br />
}</code></p>
<p>Now instead of typing <code>open .</code>, I can just type <code>open</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kL</title>
		<link>http://srhaber.com/blog/2007/11/04/quick-look-from-the-command-line/#comment-7931</link>
		<dc:creator>kL</dc:creator>
		<pubDate>Fri, 09 Nov 2007 17:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.srhaber.com/2007/11/04/quick-look-from-the-command-line/#comment-7931</guid>
		<description>You navigate in finder!?

open .

Voila!</description>
		<content:encoded><![CDATA[<p>You navigate in finder!?</p>
<p>open .</p>
<p>Voila!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ciarán Walsh</title>
		<link>http://srhaber.com/blog/2007/11/04/quick-look-from-the-command-line/#comment-7930</link>
		<dc:creator>Ciarán Walsh</dc:creator>
		<pubDate>Fri, 09 Nov 2007 16:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.srhaber.com/2007/11/04/quick-look-from-the-command-line/#comment-7930</guid>
		<description>I always used to simply do &lt;code&gt;open «filename». This is basically equivalent to double-clicking the file in Finder, so images or PDFs will open in Preview. Then you can just hit ?Q to quit when you’re done.</description>
		<content:encoded><![CDATA[<p>I always used to simply do <code>open «filename». This is basically equivalent to double-clicking the file in Finder, so images or PDFs will open in Preview. Then you can just hit ?Q to quit when you’re done.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Brannin</title>
		<link>http://srhaber.com/blog/2007/11/04/quick-look-from-the-command-line/#comment-7929</link>
		<dc:creator>Ed Brannin</dc:creator>
		<pubDate>Fri, 09 Nov 2007 12:54:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.srhaber.com/2007/11/04/quick-look-from-the-command-line/#comment-7929</guid>
		<description>@Graeme Mathieson:

I tried your version, and "local" only works in a function.  Here's what I have now:

&lt;code&gt;
#!/bin/bash
$(qlmanage -p "$@" &#62; /dev/null 2&#62;&#38;1 &#38;
ql_pid=$!
read -sn 1
kill ${ql_pid}) &#62; /dev/null 2&#62;&#38;1
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@Graeme Mathieson:</p>
<p>I tried your version, and &#8220;local&#8221; only works in a function.  Here&#8217;s what I have now:</p>
<p><code><br />
#!/bin/bash<br />
$(qlmanage -p "$@" &gt; /dev/null 2&gt;&amp;1 &amp;<br />
ql_pid=$!<br />
read -sn 1<br />
kill ${ql_pid}) &gt; /dev/null 2&gt;&amp;1<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alden</title>
		<link>http://srhaber.com/blog/2007/11/04/quick-look-from-the-command-line/#comment-7928</link>
		<dc:creator>Alden</dc:creator>
		<pubDate>Fri, 09 Nov 2007 11:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.srhaber.com/2007/11/04/quick-look-from-the-command-line/#comment-7928</guid>
		<description>More bash-fu - eliminate the need for a script that you have to alias and keep track of and just add the following to your ~/.bashrc :

# Display files in Quick Look
function ql ()
{
(qlmanage -p "$@" &#62; /dev/null 2&#62;&#38;1 &#38;
local ql_pid=$!
read -sn 1
kill ${ql_pid}) &#62; /dev/null 2&#62;&#38;1
}
# Display any filetype as plain text
function qlt ()
{
(qlmanage -p -c public.plain-text "$@" &#62; /dev/null 2&#62;&#38;1 &#38;
local ql_pid=$!
read -sn 1
kill ${ql_pid}) &#62; /dev/null 2&#62;&#38;1
}</description>
		<content:encoded><![CDATA[<p>More bash-fu - eliminate the need for a script that you have to alias and keep track of and just add the following to your ~/.bashrc :</p>
<p># Display files in Quick Look<br />
function ql ()<br />
{<br />
(qlmanage -p &#8220;$@&#8221; &gt; /dev/null 2&gt;&amp;1 &amp;<br />
local ql_pid=$!<br />
read -sn 1<br />
kill ${ql_pid}) &gt; /dev/null 2&gt;&amp;1<br />
}<br />
# Display any filetype as plain text<br />
function qlt ()<br />
{<br />
(qlmanage -p -c public.plain-text &#8220;$@&#8221; &gt; /dev/null 2&gt;&amp;1 &amp;<br />
local ql_pid=$!<br />
read -sn 1<br />
kill ${ql_pid}) &gt; /dev/null 2&gt;&amp;1<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://srhaber.com/blog/2007/11/04/quick-look-from-the-command-line/#comment-7927</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Fri, 09 Nov 2007 09:50:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.srhaber.com/2007/11/04/quick-look-from-the-command-line/#comment-7927</guid>
		<description>To force quicklook to display a file as plaintext you can use the -c switch:

qlmanage -p -c public.plain-text "$2" &#62;&#38; /dev/null &#38;</description>
		<content:encoded><![CDATA[<p>To force quicklook to display a file as plaintext you can use the -c switch:</p>
<p>qlmanage -p -c public.plain-text &#8220;$2&#8243; &gt;&amp; /dev/null &amp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srhaber</title>
		<link>http://srhaber.com/blog/2007/11/04/quick-look-from-the-command-line/#comment-7926</link>
		<dc:creator>srhaber</dc:creator>
		<pubDate>Fri, 09 Nov 2007 07:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.srhaber.com/2007/11/04/quick-look-from-the-command-line/#comment-7926</guid>
		<description>@Will

Thanks for the tip.  "killall qlmanage -p" works just as well, and is much less verbose.</description>
		<content:encoded><![CDATA[<p>@Will</p>
<p>Thanks for the tip.  &#8220;killall qlmanage -p&#8221; works just as well, and is much less verbose.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.144 seconds -->
