Last active
December 16, 2015 07:28
-
-
Save rajiv/5398606 to your computer and use it in GitHub Desktop.
export apple mail previous recipients to a csv file.
This file contains 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
echo 'first name,last name,email' > ~/recent.csv | |
sqlite3 -csv ~/Library/Application\ Support/AddressBook/MailRecents-v4.abcdmr 'select ZFIRSTNAME, ZLASTNAME, ZEMAIL from ZABCDMAILRECENT;' >> ~/recent.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!