I often use
locate as a command to find stuff system-wide.
However, I find it very annoying that the osx version of locate doesn't seem to have the
-b option to match the basename only; and so prints all the content of every folder that matches the query.
It also doesn't have the
-e option for checking whether the files have been removed since the last update of the database.
On my linux machine (Ubuntu 20.04), those options, and many others, exist. The man page for it shows the date Sep 2012, while the Mac shows August 2006.
Are these two entirely different programmes or different versions of the same? How do I get the better
locate on Mac?