Ok. Their script has a bug in it. The correct order should have -ignore_readdir_race ahead of -name. Also I had forgotten the quotes needed above in -name:
Code:
find /var/lib/php/sessions -depth -mindepth 1 -ignore_readdir_race -name 'sess_*' -type f -cmin +1440 -print
If that does not print anything, try eliminating the age requirement
Code:
find /var/lib/php/sessions -depth -mindepth 1 -ignore_readdir_race -name 'sess_*' -type f -print
The manual page for "find" has a list of what the options do, but it may be helpful to know that there is an implied logical AND between the options unless specified otherwise.