I'm new to Hazel. I have, however, set up a number of sequences that successfully locate, rename, and move statements, with date patterns working correctly.
Now I'm having difficulty with a specific set of statements and Hazel's creative date formatting.
I've put together some images to show the problem, but can't figure out how to link to them. I see from the FAQ that images need to be available on a public server, but that's beyond what my brain can handle right now, since I have been hitting it against a wall for about an hour.
Here's how the files are naming themselves:
Bank name-4378-01-31-account#1.pdf
Bank name-8727-03-account#2.pdf
This is what I want:
Bank name-2020-11-account#1.pdf
Bank name-2020-11-account#2.pdf
The statements have November 2020 as selectable type in the top two lines of the statement. Below that are some code numbers:
for file #1, CNQ70043780111120 KX 0
from which Hazel is obviously picking up "437801" and turning it into a date.
for file #2, ANQ70003872731120 KX 0
from which Hazel is choosing "87273" and turning it into a date.
My rules are:
Name contains (file name as downloaded from the internet--and I have a successful Hazel sequence to find the file, add pdf extension, and move it to a folder of PDFs to be processed--Hazel is performing this correctly and does locate the file)--GREEN
Contents contain (bank name, being picked up correctly)--GREEN
Contents contain (account number, correct)--GREEN
Contents contain match = custom date = December 1999 [format] = rule does not match--RED
If I can get Hazel to find the date, I'm guessing I can get the renaming to work, because I've succeeded with the other accounts.
I have read the FAQs and can't find the "info tab" in Hazel to look from the perspective of the log. I've looked at all the menu items and sub-items. Search in Hazel help doesn't tell me where the info tab is.
I have tried the terminal option of "mdls " and dragging the file in and hitting return, and I get "Permission denied." I have not, to the best of my knowledge, turned Spotlight off, so there shouldn't be an issue in that regard.
???