snippetbashTip
calendar — Display upcoming events from a calendar file. More information: <https://manned.org/calendar>.
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:
calendarLook [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
calendarLook [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.