Thomas,

Don't know the maximum number of files
but here's how to get around it:

cd directory
find . -name "typeof file" -print -exec grep "grepstring" {} \; | more

Kathy Bieltz

Thomas Joseph wrote:

Hi  All, My system is RH7.1 on Intel. When I do a grep on a directory that contains 12,000 plusfiles, (and no subdirectories)the system gives the following error: bash:/bin/grep: Argument list too long Could any of you please tell me what is the maximumfiles that can be  in a directory for grep to work? Is there a way to overcome this limitation ? TIA Thomas JosephSpectrum Software Solutions.Liverpool, NY 13088 

Reply via email to