How to untag files?

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

Moderator: Mr_Noodle

How to untag files? Mon Feb 13, 2017 6:06 am • by Rob
I'm trying to create a system where old files get tagged a couple of days before deletion, then at 30 days old they get deleted.

1) files 20 days or older ADD red label. (using Date Added)
2) if file has been opened within 30 days REMOVE red label. (date Last Opened)
3) files not opened for 30 days MOVE to trash.

Part 1 - labels -
The idea is that files 10 days before deletion get a red label, but if I open the file at anytime within 30 days any labels get removed, including the red label since it will no longer be delete.

Part 2 -delete -
Any file that has not been opened for 30 days gets deleted.

Unfortunately I haven't been able to get the label tags to work. Hazel will tag files RED label, but will not untag them if they have been opened.

Rule 1
Image

Rule 2
Image


This file was opened today and Hazel should have taken off the label, but it didn't.
Image

Any ideas on what I'm doing wrong?
Rob
 
Posts: 4
Joined: Mon Feb 13, 2017 5:41 am

Re: How to untag files? Mon Feb 13, 2017 12:33 pm • by Mr_Noodle
I'm guessing that the rule ordering is the issue. It is probably the case that any file that might match rule 2 is also matching rule 1. As a result, all those files keep matching rule 1 and never gets to rule 2.

Check out the troubleshooting guide here which shows you how to diagnose this: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

The solution is to re-order the rules in this case.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: How to untag files? Mon Feb 13, 2017 8:28 pm • by Rob
Tried switching the rules but still no success.
Learning how to use Hazel, maybe you can clarify something for me...

I go back to the main screen, click on the eyeball icon to Show Rule Status for the folder I'm working with. Scroll down to the "empty(2)" file. Select the information icon next to it. I look but don't see a Date Last Opened status/line. My assumption is that if it's not showing up then Hazel doesn't match by that parameter.

Image
Rob
 
Posts: 4
Joined: Mon Feb 13, 2017 5:41 am

Re: How to untag files? Mon Feb 13, 2017 8:33 pm • by Rob
To troubleshoot this I'm actually only applying one rule to this test. I manually set the label for this and several other file to RED.

I've only left Rule 2 activated, so when I run the rule it should clear the RED label from these files. Some files RED label gets cleared, other not. What I've found in common is that the files that don't have the RED label cleared also don't have the Last Opened line (see above post/image). So looks like this might be the source of why this particular file Empty(2).html is not being activated.

But why is this line not showing up? When I look at the same files in my finder is says Last Opened and has a recent date/time. Somehow this info is not reaching Hazel?
Rob
 
Posts: 4
Joined: Mon Feb 13, 2017 5:41 am

Re: How to untag files? Tue Feb 14, 2017 12:57 pm • by Mr_Noodle
Do "Get Info" on the file in Finder and see what the date is there. Any other place in Finder will lie and put in one of the other dates.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: How to untag files? Wed Feb 15, 2017 4:07 am • by Rob
I don't see a Date Last Opened in the Get Info screen either.

Image
Rob
 
Posts: 4
Joined: Mon Feb 13, 2017 5:41 am

Re: How to untag files? Wed Feb 15, 2017 12:24 pm • by Mr_Noodle
Then it doesn't exist. You can check for that in Hazel by using "is/is not blank".
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support