4 ms·
macos version: mdfind "kMDItemDisplayName == *.sqlite" -0 | xargs -0 stat "-f%z %N" | sort -nr | head -n 5 should be fairly fast because mdfind uses the spotl
by why_only_15 6y ago
macos version:
mdfind "kMDItemDisplayName == *.sqlite" -0 | xargs -0 stat "-f%z %N" | sort -nr | head -n 5
should be fairly fast because mdfind uses the spotlight backend and already has this data cached.
- Hello71 6y agodoes it include system files?
- why_only_15 6y agoYeah -- the top 5 for me includes photos and notes