Working With Dates

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

Moderator: Mr_Noodle

Working With Dates 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?
Paxapunch
 
Posts: 4
Joined: Sat Nov 24, 2018 12:16 am

Re: Working With Dates Mon Dec 03, 2018 11:57 am • by Mr_Noodle
In the rule preview, can you check the dates and post them here?
Mr_Noodle
Site Admin
 
Posts: 11236
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support