HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

icalBuddy — Command-line utility for printing events and tasks from the macOS calendar database. More informatio

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandcliicalbuddyprintingforlineutility
macos

Problem

How to use the icalBuddy command: Command-line utility for printing events and tasks from the macOS calendar database. More information: <https://hasseg.org/icalBuddy/>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: osx/icalBuddy

Revisions (0)

No revisions yet.