Skip to content

tmd stats

Displays statistics about your vault. Without flags, shows a vault-wide summary. With --type, shows per-property aggregate statistics for a specific type.

Terminal window
tmd stats

Shows each type’s emoji, plural name, object count, last updated date, and a total across all types.

📚 books 12 last updated 2026-03-15
👤 people 8 last updated 2026-03-14
💡 ideas 5 last updated 2026-03-10
🏷️ tags 3 last updated 2026-02-28
────────────────────────────
Total 28
Terminal window
tmd stats --type book

Shows aggregate statistics for each property of the specified type:

Property typeAggregations
numbersum, avg, min, max
selectvalue frequency counts
checkboxtrue/false counts
dateearliest, latest
relationlink count
📚 book (12 objects)
────────────────────────────────────────
rating (number)
filled: 12/12
sum: 46.5 avg: 3.88 min: 2 max: 5
status (select)
filled: 12/12
reading ████ 4
done ██████ 6
to-read ██ 2
favorite (checkbox)
filled: 12/12
true: 3 false: 9
published (date)
filled: 12/12
earliest: 2008-08-01 latest: 2024-11-15
author (relation)
filled: 8/12
links: 8
Terminal window
tmd stats --json
tmd stats --type book --json

Both modes support --json for machine-readable output.