Export reminders from osx Reminders app programmatically
You can do this with Automator. Open Automator and:
- Create a workflow
- Add a “Find Calendar Items” action and add it
- Change the first line from “Find events where:” to “Find reminders where:”
- To grab all the reminders change the “Any Content contains ______” to “Title is not ______“ and leave the text field empty. You may need to change to fit your needs better.
- Then add an “Event Summary” action underneath it.
- From here you can use Automator to do whatever you like with the reminders.
To help you test it out, use a “View Results” action. You can insert it anywhere and it will show you what the output of the prior action was.
For doing this from Terminal:
- Find the .workflow file you saved and copy the path to it.
- Run
automator
and pass in the path. - Now you should see the results or errors of running the actions.
You will need to run this manually once to enable Terminal to prompt for access to your Reminders.
See also: Automator: Find Reminders by list?