Page 1 of 1

FIND FILENAMES WITH MORE THAN X NUMBER OF WORDS IN THEM

PostPosted: Wed Mar 19, 2025 9:04 am
by mojopagoda
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

Re: FIND FILENAMES WITH MORE THAN X NUMBER OF WORDS IN THEM

PostPosted: Thu Mar 20, 2025 8:38 am
by Mr_Noodle
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?