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

calendar — Display upcoming events from a calendar file. More information: <https://manned.org/calendar>.

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

Problem

How to use the calendar command: Display upcoming events from a calendar file. More information: <https://manned.org/calendar>.

Solution

calendar — Display upcoming events from a calendar file. More information: <https://manned.org/calendar>.

Show events for today and tomorrow (or the weekend on Friday) from the default calendar:
calendar


Look [A]head, showing events for the next 30 days:
calendar -A {{30}}


Look [B]ack, showing events for the previous 7 days:
calendar -B {{7}}


Show events from a custom calendar [f]ile:
calendar -f {{path/to/file}}

Code Snippets

Show events for today and tomorrow (or the weekend on Friday) from the default calendar

calendar

Look [A]head, showing events for the next 30 days

calendar -A {{30}}

Look [B]ack, showing events for the previous 7 days

calendar -B {{7}}

Show events from a custom calendar [f]ile

calendar -f {{path/to/file}}

Context

tldr-pages: common/calendar

Revisions (0)

No revisions yet.