Created
October 22, 2019 19:54
-
-
Save dreness/a5f73a160639b8ed2ec6b32997bbed6e to your computer and use it in GitHub Desktop.
Display 10 most recent notification center #notifications
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
sqlite3 -line "$(getconf DARWIN_USER_DIR)/com.apple.notificationcenter/db2/db" "SELECT Datetime(delivered_date + 978328800, 'unixepoch', 'localtime') as delivered_at, | |
app.identifier, | |
record.presented, | |
record.style | |
FROM record | |
JOIN app | |
ON app.app_id = record.app_id | |
ORDER BY delivered_at DESC limit 10;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment