I'm a Unix expert (MacOS, Linux, ...) and I can help you with this bash routine.
I've done several shell utilities, such as incremental backup via cron tab, programs to access the directory in a recursive way, and others. I hope I can help you.
PS: Being approved, I can do in two hours, and if we can make a Anydesk for you see it working and you want some adjustment.