Re: Extracting Metadata from a PDF Document?
Re: Extracting Metadata from a PDF Document?
- Subject: Re: Extracting Metadata from a PDF Document?
- From: Christopher Stone <email@hidden>
- Date: Sun, 26 Apr 2015 18:14:25 -0500
On Apr 26, 2015, at 14:49, S. J. Cunningham <email@hidden> wrote:
>
> Does anyone know of a scriptable app or another way to extract the metadata from a pdf document
______________________________________________________________________
Hey Steve,
`mdls` as Wayne mentioned.
mdls "/Users/chris/test_directory/PDF_Examples/test.pdf"
Produces the whole list.
But if you're only looking for specific tags:
mdls -name kMDItemFSName -name kMDItemAuthors -name kMDItemCreator -name kMDItemTitle -name kMDItemDescription -name kMDItemContentCreationDate -name kMDItemKeywords "/Users/chris/test_directory/PDF_Examples/test.pdf"
kMDItemAuthors = (null)
kMDItemContentCreationDate = 2014-04-13 03:15:03 +0000
kMDItemCreator = (null)
kMDItemDescription = (null)
kMDItemFSName = "test.pdf"
kMDItemKeywords = (
"Keyword_01",
"Keyword_02"
)
kMDItemTitle = (null)
There's also a little 3rd party cli-tool:
http://macscripter.net/viewtopic.php?pid=110686#p110686
--
Best Regards,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden