icalBuddy
Command-line utility for printing events and tasks from the macOS calendar database. More information: https://hasseg.org/icalBuddy/.
- Show events later today:
icalBuddy --includeOnlyEventsFromNowOn eventsToday
- Show uncompleted tasks:
icalBuddy uncompletedTasks
- Show a formatted list separated by calendar for all events today:
icalBuddy --formatOutput --separateByCalendar eventsToday
- Show tasks for a specified number of days:
icalBuddy --includeOnlyEventsFromNowOn "tasksDueBefore:today+{{number_of_days}}"
- Show events in a time range:
icalBuddy eventsFrom:{{start_date}} to:{{end_date}}