I would like to be able to run a script which would look through my Contacts list and output the name (and, preferably, phone number) of anyone whose ‘Anniversary’ date matches today. (The script should be something I can run on OS X 10.9 and output to stdout.)
I can do the same for birthdays using the
contacts command from
brew install contacts) but it does not do the same for addresses.
I found a Mac OS X Hints post which suggested that it might be able to work via
sqlite3 but I have not been able to get that to work. (Which isn’t to say that it can’t be done, only that I haven’t been able to do it.)
It occurs to me that someone might have already invented this particular ‘wheel’ and I am just not aware of it. Other than the two links above, Google has not been particularly helpful.