extracting date from file name

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

Moderator: Mr_Noodle

extracting date from file name Tue Nov 12, 2013 2:58 pm • by nyl
I have my files named like:

12172013.0915.sampleimage.gif

12172013.1450.sampleimage2.gif

12172013.2230.sampleimage3.gif

I would like for Hazel to read the name of these files and:

on Dec. 17th 2013 at 9.15am do something with the first file

on Dec. 17th 2013 at 2.50pm do something with the second file

on Dec. 17th 2013 at 10.30pm do something with the third file

is this possible?
nyl
 
Posts: 2
Joined: Mon Nov 03, 2008 11:11 am

Re: extracting date from file name Wed Nov 13, 2013 11:58 am • by Mr_Noodle
Search the help for "match patterns". You can use a date token to do what you want here.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support