Search multiple dirs.

This commit is contained in:
Ben Sander
2016-02-15 19:46:51 -06:00
parent 8c3436e927
commit ad20273a1d
+2 -2
View File
@@ -1,5 +1,5 @@
#!/bin/bash
SEARCH_DIR=$1
SEARCH_DIRS=$@
find $SEARCH_DIR -name '*.cpp' -o -name '*.h' -o -name '*.cu' -o -name '*.cuh' -o -name '*.c' -o -name '*.hpp'
find $SEARCH_DIRS -name '*.cpp' -o -name '*.h' -o -name '*.cu' -o -name '*.cuh' -o -name '*.c' -o -name '*.hpp'