Skip to content

Instantly share code, notes, and snippets.

@natritmeyer
Created January 18, 2012 09:28
Show Gist options
  • Select an option

  • Save natritmeyer/1632140 to your computer and use it in GitHub Desktop.

Select an option

Save natritmeyer/1632140 to your computer and use it in GitHub Desktop.

Revisions

  1. natritmeyer created this gist Jan 18, 2012.
    6 changes: 6 additions & 0 deletions spotlight_cli.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    function sl() {
    /usr/bin/mdfind -onlyin \. $@
    }

    #usage:
    # sl Search for this phrase