mac os 查看日历
As someone that loves using UI tools, I do pride myself in learning how to accomplish the same feats from command line. Don't believe me? Check out my Command Line tutorials section -- I guarantee you'll learn quite a bit.
作为一个喜欢使用UI工具的人,我确实以在命令行中学习如何完成相同的功能而感到自豪。 不相信我吗 查看我的命令行教程部分-我保证您会学到很多。
Recently I learned that you can view basic calendars from command line with the cal
command:
最近,我了解到可以使用cal
命令从命令行查看基本日历:
~ $ cal
February 2020
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
Seeing the calendar is cool but I'd like to see my calendar events for each date. After looking through a number of options, I've found icalBuddy to be the best for displaying Mac Calendar app calendars.
看到日历很酷,但我想查看每个日期的日历事件。 浏览了许多选项之后,我发现icalBuddy是显示Mac Calendar应用程序日历的最佳选择。
To install icalBuddy, use a utility like Homebrew:
要安装icalBuddy,请使用Homebrew之类的实用程序:
brew install ical-buddy
With icalBuddy installed, you can get today's events with:
安装icalBuddy后,您可以通过以下方式获取今天的事件:
icalBuddy -f -sd eventsToday
• Son's basketball game (David)
8:30 AM - 10:30 AM
• Friend's birthday party (David)
location: Chucky Cheese
1:00 PM - 3:00 PM
You can get a week at a glance by adding time to eventsToday
:
您可以通过在eventsToday
增加时间来eventsToday
:
icalBuddy -f -sd eventsToday+10
icalBuddy provides much more functionality but you get the idea. Retrieving daily events from command line can be easy and it's another step toward living your dev life from shell!
icalBuddy提供了更多功能,但您明白了。 从命令行检索日常事件可能很容易,这是从shell着手开发生活的又一步!
mac os 查看日历