Can Hazel Get DOI from PDF and Rename?

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Can Hazel Get DOI from PDF and Rename? Sat Jan 05, 2019 6:28 pm • by JMichaelTX
I'm considering purchase of Hazel for a task, and I need to know if Hazel is a good tool for this task:

I need a Hazel workflow that goes through a directory and checks text contents of each PDF for a DOI. Once found, it adds the DOI as a spotlight comment.

If Hazel is not a good tool for this task, please feel free to offer alternate suggestions.

TIA.
Best Regards,
JMichaelTX
JMichaelTX
 
Posts: 2
Joined: Sat Jan 05, 2019 6:09 pm

Re: Can Hazel Get DOI from PDF and Rename? Mon Jan 07, 2019 12:13 pm • by Mr_Noodle
Had to look up what DOI was. It seems like DOIs do follow a common format so it should be doable. There is the risk that some other text might get matched though (possibly dates?) so you'll need to be careful with that. I suggest trying it out on some test files and posting back here if you run into problems.
Mr_Noodle
Site Admin
 
Posts: 8508
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion