Created
January 14, 2014 20:04
-
-
Save paul-jean/8424692 to your computer and use it in GitHub Desktop.
Find twitter handles in a mail thread.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| cd /Users/rule146/Library/Mail/V2/IMAP-paul.jean.letourneau@imap.gmail.com/[Gmail].mbox/All\ Mail.mbox/A2AE7A8A-125F-45FA-A000-DDD9372AE843/Data/Messages | |
| grep -E -H "To: hackerschool-w2014@googlegroups.com" *.emlx | grep -o -E "\\d+.emlx" | xargs -I % grep -o -E "(\\s|\()@[a-zA-z0-9]+" % | tr "(" " " | sort | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment