FIND FILENAMES WITH MORE THAN X NUMBER OF WORDS IN THEM

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

Moderator: Mr_Noodle

Hi,
I am a relatively new user and have been wracking my brain trying to figure out how to do a rule that:
a) checks filenames in a folder
b) finds the files that have more than (say) 5 words in them - words are descriptive labels I have added to files over many years and which are usually 3 or 4 letters but could be longer or shorter (they mean something to me but not a strict system).

I want to find files that I have added multiple labels to, rather than files that have not had any labels to them.

Another way of saying this is: I want to find files that have more than X number of letters or numbers in them. Honestly, I can't figure this out using Hazel custom text.

Any pointers would be most gratefully received!

M
mojopagoda
 
Posts: 1
Joined: Wed Mar 19, 2025 8:56 am

You can use a match pattern for that though you are inconsistent in your description. Do you want to detect more than 5 words or letters/numbers? Can you provide examples?
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support