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/>