find /my/project/dir -name '*.c' -o -name '*.h' > /foo/cscope.files cscope -i /foo/cscope.files CSCOPE_DB=/foo/cscope.out; export CSCOPE_DB