3

Getting the "Created" timestamp of a PDF file in the CLI

view full story
linux-howto

http://askubuntu.com – I'd like to know if there's a CLI command to get the "Created" timestamp from the "Document" tab (from file properties of a PDF) in the CLI? I know that I can use stat to get Access/Modified/Changed info from the filesystem, but with the meta-data in the "Document" tab being embedded in the file itself, I'm not sure how to go about extracting it via the CLI. The reason I need to do this is to create a list of filenames along with "Created" timestamps for about 22,000 PDF files. Obviously, this is something far better suited to the CLI than the GUI. (HowTos)