Linux Find and Argument List Too Long

I have had a problem that has been plaguing me for eons, and today I finally stopped and dealt with it, I refused to let it plague me anymore. And to my surprise I was able to solve it pretty quickly.

I use the find command in Linux very often. I also use sendmail and support it. I have a few hundred users on my server and I occasionally need to help a user find a piece of information in their email. So I ssh into the server, grab my trusty find command and go to work, this is where the problems typically occur. (more…)