Page 1 of 1

Date Added / Modified / Opened for auto unzipped files

PostPosted: Sun Jul 24, 2011 3:42 am
by DJMurtz
Using Safari 5.1, OS X Lion and the latest Hazel version.

I am trying to create an "Archive" functionality in my downloads folder. This is the rule I have:

Code: Select all
Date last opened is not in the last 1 week
Date last modified is not in the last 3 days

Move file to folder "Archive"


This works for the most part, however, zip files that get downloaded and unzipped automatically by Safari have their create/modified/opened date set to something else then NOW. Not sure what date is set, but I think it is the date the file was added to the zip.

For example, I just downloaded "Keyboard Maestro" from the website as a zip file. It is the 24th of July. However, after the file is unzipped, Finder shows all the above attributes as 19th of July. Firing the rule to archive, even if it's a new file.


Is there something I can do within Hazel to fix this?

Re: Date Added / Modified / Opened for auto unzipped files

PostPosted: Mon Jul 25, 2011 3:24 pm
by Mr_Noodle
It might be better to use "Date added". As you've surmised, when you zip something up, many times it preserves the original times for that file. Date added is recorded by Hazel and indicates when that file was added to the current folder, which, in this case, would be when the file was unzipped, not zipped.