archiving files not opened in the past 28 days not working

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

Moderator: Mr_Noodle

I am not sure if I am going mad or if there is an issue....

I have a rule that says:

Code: Select all
If All of the following conditions are met
Date Last Opened is not in the last 28 days
Archive
Display Notification with pattern <file> Archived
Move to Folder Archived


I thought that this would look at the date and archive it, if it hadn't been opened for 28 days but when a file is put into that folder it is archived within a matter of minutes and moved as a zip file to the archive folder.

Have I done something erroneous?
sailingbikeruk
 
Posts: 5
Joined: Sat Sep 26, 2015 12:16 pm

I suggest checking the date opened as many times it's not what you think it is. In Finder, select the file and do "Get Info" and see what it is there. Also, in Hazel's preview (the "eye" button), select the file and click on its "i" button. Make sure the date last opened is actually what you expect.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr Noodle,

thank you for this, I did as you suggested.

Its a bit of odd behaviour, in Finder it shows all three dates as being the same (Created, Modified, Opened) but following your suggestions it showed the last opened date was plan whereas the others were not.

Anyway I have it working now with a simple workaround, I just open the file in an app and close the app with a simple applescript immediately, this fills the last opened date and I am able to do the archiving appropriately.

Thanks for you help.
sailingbikeruk
 
Posts: 5
Joined: Sat Sep 26, 2015 12:16 pm

It's unfortunate, but in normal Finder windows, some dates are "made up". If they are blank, it will grab one of the other dates which can be very misleading. The "Get Info" panel is really the best place to check on this stuff.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support