MACSCRPT Archives

April 2012

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Shane Stanley <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 2 Apr 2012 22:34:23 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
On 02/04/2012, at 10:01 PM, Christopher Stone wrote:

> This works:
> 
> mdfind 'kMDItemFSName == "314912.emlx"c'
> 
> This works:
> 
> mdfind -onlyin [log in to unmask]@pop.secureserver.net/ 'kMDItemFSName == "314912.emlx"c'
> 
> This does NOT work:
> 
> mdfind -onlyin ~/Library/Mail/V2/ 'kMDItemFSName == "314912.emlx"c'
> 
> It makes no sense to me whatsoever that this last query does not work.

I think it does if you assume that -onlyin performs a shallow search.

-- 
Shane Stanley <[log in to unmask]>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>

ATOM RSS1 RSS2