Updatedb Symlink for macOS

From Bonus Bits
Jump to: navigation, search

Description

This article gives a workaround to give the same updatedb command on macOS. Basically creating a symlink.


Create Symlink

sudo ln -s /usr/libexec/locate.updatedb /usr/local/bin/updatedb


Update Locate Database

sudo updatedb