Now, Resillo sync uses a temp file in a hidden directory (.sync) that has random named file with a ".!sync" extension. I now need to change the behavior of Hazel to look for any files with that extension in that directory and if there are no files with that extension, I need to run rules on matching folders to move them. I cant seem to wrap my head around the logic to do that (i.e. monitor files in a central directory and if none exist move "other" directories) with video files to a new location. I thought about a shell script that would run and count any file with !sync extension and if return (0) zero count, run the move rule but Im not sure how to make it work. I have posted a screenshot explaining better I hope.

Thanks for any help on this.