Files
cheatsheet-tldr/tldr/calendar
2024-09-25 00:17:11 +00:00

26 lines
539 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`