Page 1 of 1

Working With Dates

PostPosted: Sat Dec 01, 2018 11:13 pm
by Paxapunch
I have some files that are named with two dates separated by an underscore. I like to color tag the files whose dates are different. So I have been trying the following:

If all
Name matches (custom date 1)_(custom date 2)(anything)
(custom date 1) is not (custom date 2)
Do
Set color label (red)

This doesn't seem to work, so I tried:

If all
Name matches (custom text 1)_(custom text 2)(anything)
(custom text 1) does not match (custom text 2)
Do
Set color label (red)

and this doesn't work either.

The custom date doesn't allow me to use 'match'. Is there a way with Hazel to accomplish what I am trying to do?

Re: Working With Dates

PostPosted: Mon Dec 03, 2018 11:57 am
by Mr_Noodle
In the rule preview, can you check the dates and post them here?