On Friday Mar 21 2014, Ken Mankoff <[email protected]> wrote:

> I have a script to 'expunge' my trash folder by moving messages older
> than 30 days into me OS Trash. On OS X I'm using this. Should work
> elsewhere but I think xargs arguments might be different:
>
> /usr/local/bin/mu find maildir:/trash AND date:100y..30d --sortfield=date 
> --fields=l | xargs -J {} mv {} ~/.Trash/
>
> However, I have draft messages in my trash that have no date. mu4e
> displays them as a date of 1969-12-31, but `mu find` does not find
> them. Is there a way to find messages w/o a date?

mu find didn't store the date for dateless message, so you can't search
for them; I've made a small change (in git) to add the date even for
such message, so you can find them, e.g. with date:..1970.

Cheers,
Dirk.

-- 
Dirk-Jan C. Binnema                  Helsinki, Finland
e:[email protected]           w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C

-- 
You received this message because you are subscribed to the Google Groups 
"mu-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to