I'm hitting my head to create this script.
I need a script, it can be in bash or php itself, it should check if a directory has a file inside it, other than another directory.
This directory I have to scan is in linux server that I have here in the company, so the script can be in bash, which I put to run daily on linux. Or in PHP, I make linux run the PHP file, no problems.
Does anyone know how to do it?