Page 1 of 1

Getting date attribute from file name

PostPosted: Thu Aug 13, 2020 11:08 am
by bbech
I am working through a creation of a rule for a set of powerpoint I have received. I receive powerpoint by email for meetings that I would like to save to a file name structure I like along with filed in a specific place. Generally to get the date I'd desire I'd do 'Content' -> 'Contains Match' -> 'Date Matching Token'. I know that due to the proprietary format Hazel is unable to read the contents of file to get the meeting date as I desire. The meeting date is included in the file but in a format that I do not like at all. In this instance the filename is 'Department_Meeting_6th Aug 2020'

Is there a way to get the date token to match in the file name to use later on when I process the file?

Re: Getting date attribute from file name

PostPosted: Fri Aug 14, 2020 9:10 am
by Mr_Noodle
Yes, you can use custom date attributes in name matches as well. Make sure to specify the date format as I don't think the autodetection will work in this case.

Re: Getting date attribute from file name

PostPosted: Fri Aug 14, 2020 2:56 pm
by EdBurke
This should work for you...

Image