<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Use Spotlight from the Command Line with mdfind</title>
	<atom:link href="http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/feed/" rel="self" type="application/rss+xml" />
	<link>http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/</link>
	<description>News, tips, software, reviews, and more for Mac OS X, iPhone, iPad</description>
	<lastBuildDate>Tue, 21 May 2013 21:37:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Roman Gaufman</title>
		<link>http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-207757</link>
		<dc:creator>Roman Gaufman</dc:creator>
		<pubDate>Sat, 02 Jul 2011 01:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-207757</guid>
		<description>Here&#039;s a nice trick. Add this to your .bashrc:

dropboxf () { mdfind -onlyin ~/Dropbox &quot;$1&quot; &#124; sed &quot;s/\/Users\/$USER\/Dropbox\///&quot;;}

And you can do something like this to search your dropbox:

$ dropboxf 168.99
fusetech/Accounts/2000-00 to 2007-09/20070927 168.99 (Roman) VAT CPC - Parts for Leonid.pdf

Very useful to quickly search your dropbox.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a nice trick. Add this to your .bashrc:</p>
<p>dropboxf () { mdfind -onlyin ~/Dropbox &#8220;$1&#8243; | sed &#8220;s/\/Users\/$USER\/Dropbox\///&#8221;;}</p>
<p>And you can do something like this to search your dropbox:</p>
<p>$ dropboxf 168.99<br />
fusetech/Accounts/2000-00 to 2007-09/20070927 168.99 (Roman) VAT CPC &#8211; Parts for Leonid.pdf</p>
<p>Very useful to quickly search your dropbox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: how to gain muscle</title>
		<link>http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-97451</link>
		<dc:creator>how to gain muscle</dc:creator>
		<pubDate>Wed, 28 Oct 2009 20:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-97451</guid>
		<description>.There’s much more to be done with the mdfind command, but we’ll keep it simple for now. Beyond curiosity, the mdfind command is probably more useful to sysadmins, unix geeks, shell scripters, and programmers than the standard Mac user. For the rest of us, command-space is where it’s at, and we’re not complaining..</description>
		<content:encoded><![CDATA[<p>.There’s much more to be done with the mdfind command, but we’ll keep it simple for now. Beyond curiosity, the mdfind command is probably more useful to sysadmins, unix geeks, shell scripters, and programmers than the standard Mac user. For the rest of us, command-space is where it’s at, and we’re not complaining..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-07-25 &#171; weblinkstream</title>
		<link>http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-93849</link>
		<dc:creator>links for 2009-07-25 &#171; weblinkstream</dc:creator>
		<pubDate>Sun, 26 Jul 2009 05:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-93849</guid>
		<description>[...] Use Spotlight from the Command Line with mdfind &#8211; OS X Daily (tags: Useful_hints2 osx commandline macosx shell apple unix howto search terminal spotlight) [...]</description>
		<content:encoded><![CDATA[<p>[...] Use Spotlight from the Command Line with mdfind &#8211; OS X Daily (tags: Useful_hints2 osx commandline macosx shell apple unix howto search terminal spotlight) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-07-25 &#171; LinkStream</title>
		<link>http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-93848</link>
		<dc:creator>links for 2009-07-25 &#171; LinkStream</dc:creator>
		<pubDate>Sun, 26 Jul 2009 05:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-93848</guid>
		<description>[...] Use Spotlight from the Command Line with mdfind &#8211; OS X Daily (tags: Useful_hints2 osx commandline macosx shell apple unix howto search terminal spotlight) [...]</description>
		<content:encoded><![CDATA[<p>[...] Use Spotlight from the Command Line with mdfind &#8211; OS X Daily (tags: Useful_hints2 osx commandline macosx shell apple unix howto search terminal spotlight) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: D</title>
		<link>http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-56092</link>
		<dc:creator>D</dc:creator>
		<pubDate>Tue, 27 May 2008 20:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-56092</guid>
		<description>..There’s much more to be done with the mdfind command, but we’ll keep it simple for now. Beyond curiosity, the mdfind command is probably more useful to sysadmins, unix geeks, shell scripters, and programmers than the standard Mac user. For the rest of us, command-space is where it’s at, and we’re not complaining..</description>
		<content:encoded><![CDATA[<p>..There’s much more to be done with the mdfind command, but we’ll keep it simple for now. Beyond curiosity, the mdfind command is probably more useful to sysadmins, unix geeks, shell scripters, and programmers than the standard Mac user. For the rest of us, command-space is where it’s at, and we’re not complaining..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DerkaDerk</title>
		<link>http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-56091</link>
		<dc:creator>DerkaDerk</dc:creator>
		<pubDate>Tue, 27 May 2008 20:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-56091</guid>
		<description>By piping the results through more, it allows you to view a screenful at a time. You can exit more by hitting control-c.</description>
		<content:encoded><![CDATA[<p>By piping the results through more, it allows you to view a screenful at a time. You can exit more by hitting control-c.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-45614</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 04 Mar 2008 17:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-45614</guid>
		<description>Do you know any way to set spotlight comments from the command line?</description>
		<content:encoded><![CDATA[<p>Do you know any way to set spotlight comments from the command line?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franco</title>
		<link>http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-149</link>
		<dc:creator>Franco</dc:creator>
		<pubDate>Wed, 06 Dec 2006 08:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-149</guid>
		<description>Good stuff</description>
		<content:encoded><![CDATA[<p>Good stuff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-148</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Wed, 06 Dec 2006 01:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/05/use-spotlight-from-the-command-line-with-mdfind/#comment-148</guid>
		<description>i love mdfind. I use it as much as I use spotlight, and it truly has changed the way I use a computer, much like gmail&#039;s philosophy (search don&#039;t sort) has changed the way I use email. For the not-so-faint of heart, check out this tip:

http://www.macgeekery.com/gspot/2006-12/a_simple_backup_script</description>
		<content:encoded><![CDATA[<p>i love mdfind. I use it as much as I use spotlight, and it truly has changed the way I use a computer, much like gmail&#8217;s philosophy (search don&#8217;t sort) has changed the way I use email. For the not-so-faint of heart, check out this tip:</p>
<p><a href="http://www.macgeekery.com/gspot/2006-12/a_simple_backup_script" rel="nofollow">http://www.macgeekery.com/gspot/2006-12/a_simple_backup_script</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/3 queries in 0.003 seconds using disk: basic
Object Caching 277/278 objects using disk: basic
Content Delivery Network via cdn.osxdaily.com

Served from: osxdaily.com @ 2013-05-21 22:50:33 -->