I have the find
command as follows:
find /jobs/logs/* -prune -name '*.log' -type f -mtime +1 |
while read LOGFILE
do
echo $LOGFILE
done
This is failing due to the following error:
/usr/bin/find: arg list too long
Can anyone suggest a way to fix this?
(This is a continuation of my previous question.)