Ahh, the answer you seek are Python scripts, my friend!!!
What about the directory contents do you need to compare? file contents, size, creation dates? No doubt there are ways to do it. If you give an accurate description of what it is you want to do, I'm sure I or someone else can help you do it or point you in the right direction. For the time being with the criteria you gave, I can point you to take up your cross and go search for the Holy Grail by learning Python.