Our web server was originally maintained by a different company. They wrote a short script to clean out cache files. Their file has several lines that read like this:
/usr/bin/find /var/www/cache/blah/ |xargs /bin/rm -f >/dev/null 2>&1
Is there any reason why they couldn't just write:
/bin/rm -f /var/www/cache/blah/*
to delete the files? I can see using
find when you need a particular criteria, but I can't seem to find one in this case.