find ~/Maildir -type f -name "*:2,*F*" -exec egrep -h "^Subject:" "{}" ";" | cut -c 10-
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Find flagged message subjects in maildir (See related posts)
You need to create an account or log in to post comments to this site.
Related Posts
» delete a filename starting w... in find shell
» Progress indicator snippet f... in find shell osx mac bash unix indicator progress
» script for migrating from UW... in shell script mailbox migration maildir mbox dovecot imap uw-imap
» Store file information in SQ... in find shell osx mac bash sql unix database file array sqlite3 sqlite write insert transaction
» Delete specified files in th... in find shell osx mac bash unix delete
» ffind - fuzzyfind from the c... in find shell osx mac bash unix file directory
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails