The file in question is:
What is wrong with locate?
Nothing is wrong with locate. By default, it doesn't search for/in hidden files/directories.
/.plugins are both hidden by the fact they are prefixed with a period "." which means that locate is not going to index the files within those directories.
I prefer to use the
sudo find / -name connections.xml
locate database in built by the script
/usr/libexec/locate.updatedb. The script is run by the user
nobody in this line
tmpdb=`su -fm nobody -c "$0"` || rc=1
unless the user
nobody has access to a directory then the content of that directory is not recorded in the database. A simple solution would be to use
mdfind -name connections.xml
You need to make sure the daemon is running on your machine:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
Alternatively you can also run the following command and build the database:
Note, that indexing of files from the filesystem would take a while, so
locate will not show you all the files matched immediately.
Or you may use the regular
find for search of what you need.