Re: finding file by size

Subject: Re: finding file by size

Date: Tue, 06 Nov 2018 21:47:21 +0100



From: Ralph Seichter

* Mark Janes:

> I'd like to find and delete the dozens of messages that were sent to
> me years ago with 50MB attachments.

I'm not sure about using Notmuch itself, but this should work:

  find /path/to/maildir -type f -size +50M | xargs rm

Each message in Maildir is stored in a single file, after all.

notmuch mailing list