{"id":449,"date":"2012-09-21T10:27:00","date_gmt":"2012-09-21T10:27:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2012\/09\/21\/using-foolabs-pdfinfo-for-extracting-the-creation-date-from-pdf-files\/"},"modified":"2012-09-21T10:27:00","modified_gmt":"2012-09-21T10:27:00","slug":"using-foolabs-pdfinfo-for-extracting-the-creation-date-from-pdf-files","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2012\/09\/21\/using-foolabs-pdfinfo-for-extracting-the-creation-date-from-pdf-files\/","title":{"rendered":"using foolabs&#8217; pdfinfo for extracting the creation date from PDF files"},"content":{"rendered":"<ul>\n<li><a href=\"http:\/\/www.foolabs.com\/xpdf\/portsntools.html\">http:\/\/www.foolabs.com\/xpdf\/portsntools.html<\/a><\/li>\n<\/ul>\n<p>They don&#8217;t list pdfinfo there, but it <b>is<\/b> a part of their open source tool set. It&#8217;s a companion tool to xpdf and pdftohtml.<\/p>\n<p>I like to use the creation date (or last modification date) of (external) documents as the leading part of their file names on my computers.<\/p>\n<p>I use pdfinfo for extracting CreationDate and ModDate from PDF files:<\/p>\n<pre>$ pdfinfo \u2026\n$ pdfinfo -rawdates \u2026<\/pre>\n<p>Of course I like the raw dates better for this purpose than the &#8220;human readable&#8221; ones.<br \/>\nBTW: The raw date look a little like they are UCT or GMT, but they apparently aren&#8217;t.<\/p>\n<p>Update 2016-02-23: Quite a while ago\u00a0<span style=\"line-height: 1.75\">I created scripts (pdf-suggest-rename-as_vouchers.sh and\u00a0pdf-suggest-rename-versioned.sh) that maked use of the dates extracted by this utility and I have been using them a lot.<\/span>\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/www.foolabs.com\/xpdf\/portsntools.html They don&#8217;t list pdfinfo there, but it is a part of their open source tool set. It&#8217;s a companion tool to xpdf and pdftohtml. I like to use the creation date (or last modification date) of (external) documents as the leading part of their file names on my computers. I use pdfinfo for extracting [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_share_on_mastodon":"0"},"categories":[666],"tags":[],"class_list":["post-449","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-7f","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=449"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/449\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}