rauchg / spot

Tiny file search utility (bash)
930 stars 45 forks source link

Added file extension search capibility #15

Closed durango closed 9 years ago

durango commented 11 years ago

This allows you to search within only *. files.

Example:

spot -x php Test

Will only search for "Test" in *.php files.

rauchg commented 9 years ago

I'd rather have the ability to match filenames. Something like -f '*.php'. Or even maybe have spot work with filenames:

find . -name '*.php' | xargs spot woot