Hi. How would I use the find command to return a list of all files
(just files--not directories) of the pattern "*.cpp" that are not in a
directory called "UNIT_TEST"?
find -type d -name UNIT_TEST -prune -o -name "*.cpp" -type f -print
I am using ksh on AIX 5.2, "Find" does not support "-path"
I searched previous posts and got some hints,
If I want to exclude only /tmp, the following command is working well
find /!(tmp) -user foobar -print
How about to exclude /tmp, /proc, and /dev all together?
Is there a similiar way to do it?