Re: finding file by size

Subject: Re: finding file by size

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

To: notmuch@notmuchmail.org

Cc:

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.

-Ralph
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: