Grep Argument List too Long

Home » Grep Argument List too Long

Blast! I hate when this happens. It’s always when one of the biggest clients has a problem and I am debugging. How the heck am I suppose to help them now? My best search tool isn’t even working.

Well thankfully for the following snippet:


find . -type f -print0 | xargs -0 grep "search string here"

Leave a Comment

Your email address will not be published. Required fields are marked *