I'm trying to use the find command in Unix and I know how to use the basics of it. For example, I have four folders, A, B, C, and D. Under each folder I have a file called
hi.dat. To look in all folders, I would do:
find * -name hi.dat.
Great! But now what if I do not want to look at folder D? Can I try something like:
find * not D/* -name hi.dat?
I do not want to type:
find A/* B/* C/* -name ... because I obviously have more than three folders and those were just used as an example.