Alert if number of items is less than 3

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

Moderator: Mr_Noodle

Alert if number of items is less than 3 Fri Jun 10, 2022 7:30 pm • by FoggyTrip
Howdy all,
I am less than a novice with Hazel.

I am trying to get Hazel to alert me if my back-up folder has less than 5 items inside it, but I cannot get it to work.
What I think should work is:

- If all conditions are met
number of items [i] - [i]is less than[i] - [i]5
Display notification with pattern: file back up error.

I have 2 files in the folder and I do not get a notification. If I choose any conditions met, I do not get a notification.
I choose none of the conditions met, and change it to number of items is more than 5, I get notifications no matter how many files are in the folder.

Sorry for my ignorance. Any help appreciated.
FoggyTrip
 
Posts: 1
Joined: Fri Jun 10, 2022 7:16 pm

Re: Alert if number of items is less than 3 Mon Jun 13, 2022 8:52 am • by Mr_Noodle
Rules apply to items inside a folder, not the monitored folder itself. If you want to have a rule match the backup folder, then you need to have Hazel monitor the folder containing it.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support