Last active
September 1, 2021 05:17
-
-
Save satnami/49419a8489edbeb77f72a6484e38801c to your computer and use it in GitHub Desktop.
Finding the Most Frequent Senders in Your Gmail Account
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
# From https://ryanfb.github.io/etc/2019/08/26/finding_the_most_frequent_senders_in_your_gmail_account.html | |
# Go to https://takeout.google.com/ | |
# Select only Mail as mbox file | |
grep '^From:' ~/Downloads/Takeout/Mail/All\ mail\ Including\ Spam\ and\ Trash.mbox | cut -d'<' -f2 | tr -d '>' | sort | uniq -c | sort -rn > senders.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment