On 2012-04-30 14:16:09 -0700, Gary Johnson wrote:
> On 2012-04-30, Leonardo M. Ramé wrote:
> > As the subject says, is there a way to search by attachment name?.
> > 
> > I.E.: I know somebody sent me an email with an attached file named
> > "Costsxxyy.xls" and I would like to search for that file.
> 
> You can search message bodies by using the ~b flag.  Type / to begin
> the search, then
> 
>     ~b 'filename="?Costsxxyy\.xls"?'
> 
> Each "? will match 0 or 1 double-quotes which sometimes surround the
> file name.
> 
> Regards,
> Gary

Thanks Gary. One more question, how can I search for all ".xls" files?.

This way?: ~b 'filename="?*\.xls"?' 

Regards,
-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com

Reply via email to