gcalcli:tldr:1b631
gcalcli: Quick-add an event to your calendar.
$ gcalcli --calendar ${calendar_name} quick "${mm-dd} ${HH:MM} ${event_name}"
try on your machine
This command is using the gcalcli tool to quickly add an event to a Google calendar.
Here's the breakdown of the command:
gcalcli
: It's the command-line interface (CLI) tool for Google Calendar.--calendar ${calendar_name}
: Specifies the calendar where the event will be added.${calendar_name}
is a placeholder that should be replaced with the actual name of the calendar.quick
: This option specifies that the event will be added as a quick event."${mm-dd} ${HH:MM} ${event_name}"
: This is the date, time, and name of the event to be added.${mm-dd}
represents the month and day in the format of two digits each, followed by a hyphen (e.g., 01-12 for January 12th).${HH:MM}
represents the hour and minute in the format of two digits each, separated by a colon (e.g., 09:30 for 9:30 AM). And${event_name}
is a placeholder for the name of the event.
To use this command, you need to replace ${calendar_name}
with the actual calendar name, ${mm-dd}
with the desired date, ${HH:MM}
with the desired time, and ${event_name}
with the name of the event you want to add.
An example use of this command could be:
gcalcli --calendar MyCalendar quick "01-12 09:30 Meeting with John"
This would add an event named "Meeting with John" on January 12th at 9:30 AM to the calendar called "MyCalendar".
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.