[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to exclude a directory from find?



>>>>> "LS" == Lazaro Salem <Lazaro.Salem@rf.no> writes:

 LS>  Is there any kind of "logical not" affecting a flag in find?
 LS> Something similar to the `grep -v regexp' as opposed to `grep
 LS> regexp'.

There is. Try find . ! -type d etc. See the section on operators in
the gnu find man page.

-- 
Juri Pakaste/jurip@icon.fi		



Reply to: