Getting date attribute from file name

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

Moderator: Mr_Noodle

Getting date attribute from file name 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?
bbech
 
Posts: 6
Joined: Mon Mar 02, 2020 11:10 pm

Re: Getting date attribute from file name 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.
Mr_Noodle
Site Admin
 
Posts: 11240
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Getting date attribute from file name Fri Aug 14, 2020 2:56 pm • by EdBurke
This should work for you...

Image
EdBurke
 
Posts: 28
Joined: Wed Apr 18, 2012 6:58 am


Return to Support