Skip to content

Entries tagged "grep".

grep: Argument list too long

A quick one.
Today I tried grepping for some stuff in a large Maildir and received the aforementioned error.
A nice workaround is to use:
grep -r "blah blah" /path/to/dir
instead of
grep "blah blah" /path/to/dir/*


HTH!