Check if a folder has any of its files or subfolders changed

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Hi,

I use a folder rule to "Run rules on folder contents". It's working fine and well!
However, every time Hazel pass through the monitored folder, this rule always triggers for every single folder on it.
Is there a way to optimize this and add a condition to check if there was any change on folder contents?
Something like this:
if all met
kind is folder
if any condition met on any of its subfiles or subfolders
I need an attribute to check for any change

This is important because it would reduce Hazel processing rules a lot - only change folders will be processed.

Thanks in advance.
RMeira
 
Posts: 16
Joined: Thu Apr 27, 2017 3:22 pm

You can check the date modified but keep in mind that doing it that way won't be much different than having Hazel descend into the folder anyways. It could possibly be more resource-intensive as it may end up doing it twice every time.

If you provide more specifics about your layout and what kinds of changes you want to monitor, then there might be some tricks you can do.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support