by why_only_15 · 6y ago · 0 comments
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.