Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SALEEN00SR

macrumors newbie
Original poster
Jan 27, 2010
1
0
How can I get a selected items filename and enter it into the "Title" textbox of the "Set PDF Metadata" automator action. I am trying to easily update a PDF's metadata "Title" property with its current filename.
 
i would like to have an answer for that because i also have a lot of pdf that i need to edit their metadata depending on their filename since and doing it one by one is way too time consuming.

i've heard about calibre to edit metadata & i used it for a while & it worked just fine & suddenly it no longer works.
 
Last edited:
oh i figured out what i did wrong.

in calibre, first change the preferences :
adding books - uncheck read metadata from file content rather than filename. and see other options...(you can change author lastname and firstname)

if your filename is {author} - {title} then change the preferences accordingly in the regular expression to (?P<author>[^_]+) - (?P<title>.+). by default it reads it as {title} - {author}.

add the books pdf or epub and then
edit meta data individually or in bulk. it will read metadata from filename
then select pdf & save it to disk (don't forget top save it)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.