find - do not descend into directory?
Doug Toppin X2075
toppin at melpar.UUCP
Sat Jan 6 10:32:17 AEST 1990
We are running SCO Xenix 2.2.3 on the 286.
I am trying to generate a find command that will print everything in
several directories and will not descend into a directory called test.
I have had no luck in doing it in the find itself and have had to
process the output. What I attempted follows:
* find . ! -name test -print
* find . ! \( -type d -name test \) -print
The first tried to exclude the directory test by name,
the second tried to exclude assuming that it needed type and name.
Anything I attempted still went in the test directory.
If anyone knows how to do this please let me know.
thanks
Doug Toppin
uunet!melpar!toppin
More information about the Comp.unix.questions
mailing list