- 2012.zip
- 2013.zip
- 2014-01-22.pdf
- 2014-02-!9.pdf
- 2014-03-20.pdf
- 2014-04-22.pdf
- 2014-05-21.pdf
- 2014-06-18.pdf
- 2014-07-20.pdf
- 2014-08-19.pdf
- 2014-09-22.pdf
- 2014-10-22.pdf
- 2014-11-21.pdf
- 2014-12-22.pdf
- 2015-01-18.pdf
- 2015-02-20.pdf
- 2015-03-21.pdf
My first thought was to check that there were 12 matches, but I couldn't find a way to make Sub-file/folder Count only act on matches to previous conditions.
My second thought was to check when the December statement was added, but I couldn't find a way to just check the month of the matched date. Statement date occurs at 00:00 any day in Dec didn't work because Statement date just takes year, month, and day from the file name and the time is the current time when the rule runs.
I previously tried dropping into a script to check for the number of matches, but had a lot of difficulty working with the parameters that Hazel passes. Still, this might be the best option.
I'm pretty sure I could get it to work if I moved the files into a sub-folder, checked the count of its contents, and went from there, but I don't want to move 11 months of files, find that there aren't 12, and have to back it out.
Does anyone have suggestions? Is there something I've missed with the options I've tried?
Cheers,
Graham