Mac is POSIX compliant so if you give me more information about what exactly you are doing I can probably write a Bash or Python script that accomplishes what you want
I am currently in my senior at one of the top computer science programs in America. I will have no problem doing this. I have been a mac user my whole life :)