Apply color label to nested files & folders over 100MB

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

Moderator: Mr_Noodle

I am trying to have hazel monitor the contents of a particular folder (including all files and folders contained within the specified folder) to see if there are any files/folders contained within the particular folder that are larger than 100MB in size... and if there are, to apply a red label to those +100MB files/folders

I've setup the two rules shown below, but for some reason, hazel seems to only apply red labels to files, and not to folders that are larger than 100MB as well...

Any suggestions as to how I can set this up so that all files and all folders contained within the monitored folder get red labels applied to them?

Image

Image
m021478
 
Posts: 2
Joined: Mon Oct 22, 2007 4:14 pm

The problem here is that the first rule to descend into folders is matching the folders already so when a folder is encountered it doesn't get to the next rule.

Try adding the following rule before your current folder rule:

If Kind is Folder and Size is greater than 90M then set color label to red

That way, large folders will get labeled and also descended into whereas smaller folders will just be descended into. It's a tad redundant but should work. Let me know how it goes.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support