On 18 Nov 2025, at 17:21, Bill Cole wrote:
It strikes me as a very trivial "mission." An exported mailbox is just
text, so if you have an exported mailbox named 2025.mbox:
grep '^Subject: ' 2025.mbox | grep -o ' .*'
Will give you all the subjects without the leading "Subject:" tag
A little bit fancier. Strips out the filename and avoids a potential
shell error for large directories:
cd [message-folder]
find . -name '*.eml' -exec grep -h -m 1 '^Subject: ' {} + | sed
's/Subject: //'
Append the following to remove duplicate subjects:
| sort -su
Glenn P. Parker
[email protected]
_______________________________________________
mailmate mailing list
Unsubscribe: https://lists.freron.com/listinfo/mailmate