Page 1 of 1

Can Hazel Get DOI from PDF and Rename?

PostPosted: 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.

Re: Can Hazel Get DOI from PDF and Rename?

PostPosted: 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.