partial finds
Robert E. Stampfli
res at cbnews.ATT.COM
Sat Jan 6 06:51:36 AEST 1990
Is there anyway to execute a "find" command while explicitly excluding
the search of certain branches? For instance, suppose I want to visit
each file in an entire Unix system except for those in /u or /usr/src. I have
not found any combination of "! -name /u -a ! -name /usr/src" that worked.
Of course, I could pipe the results thru grep, but that would be an expensive
waste of time if /u and /usr/src contained many files and directories.
Anyone have a solution?
--
Rob Stampfli / att.com!stampfli (uucp at work) / kd8wk at w8cqk (packet radio)
614-864-9377 / osu-cis.cis.ohio-state.edu!kd8wk!res (uucp at home)
More information about the Comp.unix.questions
mailing list