Renaming file by pulling dates from orig file name
When I download PDFs of a magazine subscription, the filename is either in the format "January_5,_2026.pdf" or "Monday_4th_May_2026.pdf" I would like to rename the PDFs to the format 2026-01-05 Name of Magazine.pdf" and "2026-05-04 Name of Magazine.pdf" respectively.
I have spent a long time trying to configure a Hazel Rule myself and even a couple of hours using Claude and I can't get past getting a condition to match in preview using "Name" & "matches." I have no real coding experience but have used Hazel for years with lots of success renaming PDFs by pulling data from their contents. My guess that pulling date information that is right in the filename would be easy for me has been proven wrong for my skills.
I am running Hazel 6.1.2 on a MacBook Air M4 running Tahoe 26.4.1
I have spent a long time trying to configure a Hazel Rule myself and even a couple of hours using Claude and I can't get past getting a condition to match in preview using "Name" & "matches." I have no real coding experience but have used Hazel for years with lots of success renaming PDFs by pulling data from their contents. My guess that pulling date information that is right in the filename would be easy for me has been proven wrong for my skills.
I am running Hazel 6.1.2 on a MacBook Air M4 running Tahoe 26.4.1