Search multiple dirs.

This commit is contained in:
Ben Sander committed 2016-02-18 21:07:14 -06:00
1 parent ac5957320e
commit 311a728d25
1 file changed
+2 -2
+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'