* Peter P. <
peter...@fastmail.com> [2025-11-30 09:25]:
> * Duncan Overbruck <
ma...@duncano.de> [2025-11-29 17:15]:
> > > Peter P. <
peter...@fastmail.com> hat am 29.11.2025 13:40 CET geschrieben:
> > > mlist .imapMail_mbsync/fastmail/INBOX.Trash/ | mpick -t 'date < "2017-01-01"' | mrefile -k -v - mailbackupTest/
> >
> > I think the issue is the `-` in the mrefile argument.
> >
> > > ‘-’ refers to the message read directly from the standard input.
> >
https://man.voidlinux.org/mmsg.7
>
> Thanks, yes! I am using the above command without the `-` now and it
> seems to copy the respective messages, but prints
> could not read sequence '/home/peter/.mblaze/seq': No such file or directory
> What could be the reason for this error/warning?
I am replying to my own message here. It seems that creating an empty
~/.mblaze/seq file works around the above message. It would be nice if
its absence wouldn't spark the warning that an empty file will
circumvent.
> Oh, and is there a way for mpicks condition to say "all email older than
> N days" instead of providing an absolute date as condition?
It is possible, and I didn't RTFM properly, sorry. The below solution
works for eg. one year:
mpick -t 'date < "-365d"'
cheers, Peter