Created
April 10, 2013 22:14
-
-
Save lennyjpg/5358929 to your computer and use it in GitHub Desktop.
who you sent mail to, sorted by frequency
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
find ~/Library/Mail/ -name "*.emlx" -print0 | xargs -0 grep "^To:" -h | grep -o '[[:alnum:]+\.\_\-]*@[[:alnum:]+\.\_\-]*' | sort | uniq -c | sort -rn > ~/Desktop/recipients-sorted-by-frequency.txt && open ~/Desktop/recipients-sorted-by-frequency.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment