Hello,

If I do:

notmuch search --output=files path:[email protected]/**

I get the following results:

/home/rb/.mail/[email protected]/Inbox/cur/1715564710.62398_2.tp,U=2:2,S
/home/rb/.mail/
[email protected]/Inbox/cur/1715541329.42568_1.tp,U=2:2,S
/home/rb/.mail/[email protected]/Sent/cur/1715564710.62398_6.tp,U=4:2,S
/home/rb/.mail/
[email protected]/Inbox/cur/1714698543.61892_1.tp,U=1:2,S
/home/rb/.mail/[email protected]/Inbox/cur/1715564710.62398_1.tp,U=1:2,S
/home/rb/.mail/[email protected]/Trash/cur/1715564710.62398_7.tp,U=1:2,S
/home/rb/.mail/[email protected]/Sent/cur/1715564710.62398_5.tp,U=3:2,S
/home/rb/.mail/[email protected]/Sent/cur/1715564710.62398_4.tp,U=2:2,S
/home/rb/.mail/[email protected]/Sent/cur/1715564710.62398_3.tp,U=1:2,S

As you can see, two of these files are located under "~/.mail/
[email protected]/". It shouldn't be the case, because of the "
path:[email protected]/**" which means explicitly "everything under the
~/.mail/[email protected]/ directory" (if I understand correctly).

Likewise, if I do:

notmuch search --output=files path:[email protected]/**

It returns:

/home/rb/.mail/
[email protected]/Inbox/cur/1715541329.42568_1.tp,U=2:2,S
/home/rb/.mail/[email protected]/Sent/cur/1715564710.62398_6.tp,U=4:2,S
/home/rb/.mail/
[email protected]/Inbox/cur/1714698543.61892_1.tp,U=1:2,S
/home/rb/.mail/[email protected]/Inbox/cur/1715564710.62398_1.tp,U=1:2,S

Again, there are 2 false results.

Do you have any idea what's happening? My goal is simply to get all emails
under each directories in my "~/.mail" folder, one at a time.

Thanks,
Renaud B.
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to