Created
October 14, 2015 06:31
-
-
Save tommyvdv/d978d8a4f0fafd302e41 to your computer and use it in GitHub Desktop.
Calendar incrementing badge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$HOME/Library/Calendars/Calendar\ Cache is a sqlite3 embedded database. | |
1) Close your Apple iCal. | |
2) Open your Terminal or any shell application | |
3) Go to the above directory "$HOME/Library/Calendars" | |
4) Open the db using "sqlite3 Calendar\ Cache" | |
5) ".tables" will show you all the tables in this database | |
6) "select * from ZMESSAGE" will show you all the pending notifications | |
7) To remove all the pending notifications, use "delete from ZMESSAGE;" | |
8) to quit, type ".quit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment