Search multiple dirs.
This commit is contained in:
1 parent
ac5957320e
commit
311a728d25
1 file changed
+2
-2
+2
-2
@@ -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'
|
||||
Reference in new issue
Block a user