Processing files based on creation date weekday and hour

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

Moderator: Mr_Noodle

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
tcgass
 
Posts: 31
Joined: Mon Oct 29, 2012 10:33 am

Try using "Date created occurs at/before/after".
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support