Created
February 18, 2014 03:11
-
-
Save quickshiftin/9064035 to your computer and use it in GitHub Desktop.
Simulate locate on OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# update locate database, linux style | |
alias updatedb='sudo /usr/libexec/locate.updatedb' | |
# mdfind is the locate equivalent on OSX, | |
# so this is probly more useful for you | |
alias locate='mdfind -name' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment