Skip to content

Instantly share code, notes, and snippets.

@quickshiftin
Created February 18, 2014 03:11
Show Gist options
  • Save quickshiftin/9064035 to your computer and use it in GitHub Desktop.
Save quickshiftin/9064035 to your computer and use it in GitHub Desktop.
Simulate locate on OSX
# 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