Re: wildcards with path or folder

Subject: Re: wildcards with path or folder

Date: Sun, 18 Dec 2016 20:58:50 -0500

To: Steven Allen

Cc: Erik Colson, notmuch@notmuchmail.org

From: Brian Sniffen


One reason many people look for such is as part of a pipeline with --output=files and unlink. It is crucial to know that notmuch will tell you about every file name of every message that has any copy in those folders. You have to grep or otherwise restrict the list of paths to the folder you want, or lose data. 

-Brian
I know I can restore my Maildir from backups. Guess how?

-- 
Brian Sniffen

> On Dec 18, 2016, at 6:19 PM, Steven Allen <steven@stebalien.com> wrote:
> 
> 
> Erik,
> 
> Erik Colson <eco@ecocode.net> writes:
>> hi,
>> 
>> How can I select all mails which are in a certain mail folder or
>> subfolders of it ?
> 
> You're probably looking for `path:path/to/folder/**` (e.g. `path:Archive/**`).
> 
> Documentation:
> 
> * man 7 notmuch-search-terms
> * https://notmuchmail.org/manpages/notmuch-search-terms-7/
> 
> - Steven
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch


Thread: