Page 1 of 1

Processing files based on creation date weekday and hour

PostPosted: Thu May 18, 2017 11:43 am
by tcgass
I wonder if there's a possibility to process files based on the weekday and/or hour of the "date created" condition. Here's why:
I store hourly backups of a forum database for the last 3 months, but would like Hazel to delete older files matching the following conditions:

- Date Created is not in the last 1 month
- Date Created (weekday) is not (Sunday)
- Date Created (hour) is not (23:00)

I don't know much about writing scripts and would like to know, if this can be done with standard Hazel features? Thanks for any hint!

Thomas

Re: Processing files based on creation date weekday and hour

PostPosted: Thu May 18, 2017 2:07 pm
by Mr_Noodle
Try using "Date created occurs at/before/after".