4 ms·
In case this is new to some people: you can run $ mdfind [thing] like $ mdfind microsoft from the command line and it was an ultra-fast search usi
by schrodinger 2y ago
In case this is new to some people: you can run
$ mdfind [thing]
like
$ mdfind microsoft
from the command line and it was an ultra-fast search using the index that Spotlight search uses. It's great to find pesky files when trying to rid yourself of an app and can't figure out what's left.
I usually pipe it into a text editor (mdfind 1password | subl), use my editor to put rm or so rm at the beginning of each one, then paste it into terminal to run. That lets me audit the files first as opposed to xargs but I'm sure there's a million ways—the point is mdfind can be useful.