Want command line program to selectively delete emails
googly.negotiator862 at aceecat.org
googly.negotiator862 at aceecat.org
Sun Aug 6 16:32:26 UTC 2023
On Sun, Aug 06, 2023 at 04:04:34PM +0200, Marcus C. Gottwald wrote:
> > I think for a true date received test, you have to look at the
> > timestamp part of the filename.
> Well, it looks like both mtime and timestamp-as-part-of-filename may
> change when copying messages between Maildirs, at least when using
> Mutt and a local filesystem. So if mtimes do not reflect the desired
> timestamp, neither might timestamp-as-part-of-filename.
I was thinking of just using cp and friends, and yes I have done that
to move around my maildirs.
I'm curious if mutt preserves the mtime when doing the mutating
operations I mentioned ie. rethreading or editing after the fact.
Especially in the case of editing, I have serious doubts that mtime
is preserved. But maybe mutt also creates a fresh message in this
case, my memory is foggy.
I'm also curious what other programs look at the mtime to determine
time delivered. I mean real programs, not your hand written scripts
;-)
Friendly,
--
Ian
More information about the Mutt-users
mailing list