[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

find command usage

I am using a find that looks like this:

find . -name '*[ch]' -follow -print >cscope.files

The intention is to get a list of all files with .c and .h extension from
the present directory recursively in to a file called cscope.files.

If I want to selectively reject files that have '2600' and '3600' as part of
the filename, how should I do it ?
For instance, i want to reject say file '2600debug.h' .
Can I do it in the same command with a different option ?