I have set up a folder in Dropbox where I share files with people. After 5 days, I have a Hazel rule that deletes the contents of any file, even ones in a subfolder. I was trying to find a way to then check the subfolder and if it was empty to move it to trash also.
if all .....any of its sub-files or folders
kind is folder
size is 0
Mover to trash
Display notification.
Does not seem to work for me. Any suggestions?